[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master eb03746 09/66: company-cmake--unexpand-candidate: Remove e

From: Dmitry Gutov
Subject: [elpa] master eb03746 09/66: company-cmake--unexpand-candidate: Remove extra underscore
Date: Tue, 13 Jan 2015 02:44:44 +0000

branch: master
commit eb0374674c8fc9c35474e2cf2880e5035719be06
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company-cmake--unexpand-candidate: Remove extra underscore
 company-cmake.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/company-cmake.el b/company-cmake.el
index cb17030..b38ece0 100644
--- a/company-cmake.el
+++ b/company-cmake.el
@@ -124,7 +124,7 @@ They affect which types of symbols we get completion 
candidates for.")
 (defun company-cmake--unexpand-candidate (candidate)
    ((string-match "^CMAKE_\\(C\\|CXX\\|G77\\)\\(_.*\\)$" candidate)
-    (setq candidate (concat "CMAKE_<LANG>_" (match-string 2 candidate))))
+    (setq candidate (concat "CMAKE_<LANG>" (match-string 2 candidate))))
    ;; C flags
    ((string-match "^\\(.*_\\)IS_GNU\\(C\\|CXX\\|G77\\)$" candidate)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]