branch: elpa/nix-mode
commit 3294f8a2f83ace2d71f16c274a262ff76be412dc
Merge: eb7623fb3b 93a59d9acb
Author: Matthew Justin Bauer <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #37 from dieggsy/cl-lib
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)))