branch: master commit eb0374674c8fc9c35474e2cf2880e5035719be06 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
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) (cond ((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)