]> rtime.felk.cvut.cz Git - sojka/company-mode.git/blobdiff - company-ispell.el
Use cl-lib
[sojka/company-mode.git] / company-ispell.el
index 3e599f03e51fee11468c71f2c5b9724134617ba5..1561beef1a1b62e633c79ae4451c5a53d8fa1be8 100644 (file)
@@ -26,8 +26,8 @@
 ;;; Code:
 
 (require 'company)
+(require 'cl-lib)
 (require 'ispell)
-(eval-when-compile (require 'cl))
 
 (defgroup company-ispell nil
   "Completion back-end using Ispell."
@@ -56,7 +56,7 @@ If nil, use `ispell-complete-word-dict'."
 (defun company-ispell (command &optional arg &rest ignored)
   "`company-mode' completion back-end using Ispell."
   (interactive (list 'interactive))
-  (case command
+  (cl-case command
     (interactive (company-begin-backend 'company-ispell))
     (prefix (when (company-ispell-available)
               (company-grab-word)))