X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/c87035c021a9be74f8420936c4c5043f417c02c2..ca8d5c56f29527250cfa33a31fcabc99f7f93427:/packages/company/company-cmake.el diff --git a/packages/company/company-cmake.el b/packages/company/company-cmake.el index 34359dc7a..a466f60b7 100644 --- a/packages/company/company-cmake.el +++ b/packages/company/company-cmake.el @@ -25,8 +25,8 @@ ;;; Code: -(eval-when-compile (require 'cl)) (require 'company) +(require 'cl-lib) (defgroup company-cmake nil "Completion back-end for CMake." @@ -112,7 +112,7 @@ They affect which types of symbols we get completion candidates for.") "`company-mode' completion back-end for CMake. CMake is a cross-platform, open-source make system." (interactive (list 'interactive)) - (case command + (cl-case command (interactive (company-begin-backend 'company-cmake)) (init (when (memq major-mode company-cmake-modes) (unless company-cmake-executable