]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/company/company-cmake.el
Merge commit '51c140ca9ee32d27cacc7b2b07d4539bf98ae575' from company-master
[gnu-emacs-elpa] / packages / company / company-cmake.el
index 34359dc7ab011a1e0a9b298cfcd66e8fa29c9136..a466f60b7a75b5abdad3ec06a4fd3e367ca9a46f 100644 (file)
@@ -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