]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/company/company-tempo.el
Merge branch 'master' of https://github.com/leoliu/temp-buffer-browse
[gnu-emacs-elpa] / packages / company / company-tempo.el
index bc3408935ca103e06d0f45110980a53b8d8b5e43..ac91988623d3d1a8ea4b926e8474d81212933b96 100644 (file)
@@ -1,4 +1,4 @@
-;;; company-tempo.el --- company-mode completion back-end for tempo
+;;; company-tempo.el --- company-mode completion back-end for tempo
 
 ;; Copyright (C) 2009-2011  Free Software Foundation, Inc.
 
 
 
 ;;; Commentary:
-;; 
+;;
 
 ;;; Code:
 
 (require 'company)
-(eval-when-compile (require 'cl))
+(require 'cl-lib)
 (require 'tempo)
 
 (defsubst company-tempo-lookup (match)
@@ -48,9 +48,9 @@
 
 ;;;###autoload
 (defun company-tempo (command &optional arg &rest ignored)
-  "`company-mode' completion back-end for tempo."
+  "`company-mode' completion back-end for tempo."
   (interactive (list 'interactive))
-  (case command
+  (cl-case command
     (interactive (company-begin-backend 'company-tempo
                                         'company-tempo-insert))
     (prefix (or (car (tempo-find-match-string tempo-match-finder)) ""))