X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/2c0f29abb2928f672043cf97d689770bd2265064..3a2d33c03ac0213ab8ec4013e791d3b516f4e052:/packages/company/company-tempo.el diff --git a/packages/company/company-tempo.el b/packages/company/company-tempo.el index 1dda49e8f..ac9198862 100644 --- a/packages/company/company-tempo.el +++ b/packages/company/company-tempo.el @@ -1,4 +1,4 @@ -;;; company-tempo.el --- A 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. @@ -26,7 +26,7 @@ ;;; 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) - "A `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)) ""))