summaryrefslogtreecommitdiff
path: root/elisp/geiser-company.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2020-03-27 23:13:37 +0100
committerJonas Bernoulli <jonas@bernoul.li>2020-03-27 23:13:37 +0100
commit8b07def2de860cbb4f4a28991572fb34b45a9941 (patch)
treef61160691d09c269d7eecd911e9612d294024f88 /elisp/geiser-company.el
parent6496bc5693aa1ab32b9d4589fcd41266dcb37586 (diff)
downloadgeiser-8b07def2de860cbb4f4a28991572fb34b45a9941.tar.gz
geiser-8b07def2de860cbb4f4a28991572fb34b45a9941.tar.bz2
Use cl-lib instead of cl
Starting with Emacs 27 cl is fully deprecated, including at compile-time.
Diffstat (limited to 'elisp/geiser-company.el')
-rw-r--r--elisp/geiser-company.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-company.el b/elisp/geiser-company.el
index 814fbbd..a7595f1 100644
--- a/elisp/geiser-company.el
+++ b/elisp/geiser-company.el
@@ -18,7 +18,7 @@
(require 'geiser-base)
(require 'geiser-doc)
-(eval-when-compile (require 'cl))
+(eval-when-compile (require 'cl-lib))
;;; Helpers:
@@ -120,7 +120,7 @@
(defun geiser-company-backend (command &optional arg &rest ignored)
"A `company-mode' completion back-end for `geiser-mode'."
(interactive (list 'interactive))
- (case command
+ (cl-case command
('interactive (company-begin-backend 'geiser-company-backend))
('prefix (geiser-company--prefix-at-point))
('candidates (geiser-company--candidates arg))