From 5ad905a6aaf79c4f2a0018cd954e1414e542fff4 Mon Sep 17 00:00:00 2001 From: Chen Bin Date: Sun, 28 Jul 2013 13:01:51 +0300 Subject: [PATCH 1/1] Separate executable from arguments in the error output buffer Fixes #27 --- company-clang.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/company-clang.el b/company-clang.el index 52bb6e6ad..6d1737a7f 100644 --- a/company-clang.el +++ b/company-clang.el @@ -145,7 +145,7 @@ or automatically through a custom `company-clang-prefix-guesser'." (defun company-clang--handle-error (res args) (goto-char (point-min)) (let* ((buf (get-buffer-create company-clang--error-buffer-name)) - (cmd (concat company-clang-executable (mapconcat 'identity args " "))) + (cmd (concat company-clang-executable " " (mapconcat 'identity args " "))) (pattern (format company-clang--completion-pattern "")) (err (if (re-search-forward pattern nil t) (buffer-substring-no-properties (point-min) -- 2.39.2