branch: elpa/nix-mode
commit 93a59d9acb848585abcd4386f1966d1b0e0d6b9d
Author: dieggsy <[email protected]>
Commit: dieggsy <[email protected]>
Use cl-lib instead of cl.
---
nix-company.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nix-company.el b/nix-company.el
index f097acbe2b..6b912af588 100644
--- a/nix-company.el
+++ b/nix-company.el
@@ -7,7 +7,7 @@
;;; Code:
(require 'nix-repl)
-(require 'cl)
+(require 'cl-lib)
(defun company-nix (command &optional arg &rest _)
"Company backend for Nix.
@@ -15,7 +15,7 @@
COMMAND company command
ARG company argument"
(interactive '(interactive))
- (case command
+ (cl-case command
(interactive (company-begin-backend 'company-nix))
(prefix (and (member major-mode '(nix-mode nix-repl-mode))
(nix-grab-attr-path)))