branch: elpa/d-mode
commit a0e95f47c37b91b04e6b3ab4a2b20d1da50d17fd
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
Remove cl-lib dependency
Unnecessary as cc-mode already wraps the needed function.
---
d-mode.el | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 115d090..bc59f6a 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -7,7 +7,7 @@
;; Maintainer: Russel Winder <[email protected]>
;; Vladimir Panteleev <[email protected]>
;; Created: March 2007
-;; Version: 201911082245
+;; Version: 201911101349
;; Keywords: D programming language emacs cc-mode
;; Package-Requires: ((emacs "25.1"))
@@ -92,9 +92,6 @@
(when (and (= emacs-major-version 24) (>= emacs-minor-version 4))
(require 'cl)))
-;; The set-difference function is used from the Common Lisp extensions.
-(require 'cl-lib)
-
;; Used to specify regular expressions in a sane way.
(require 'rx)
@@ -198,7 +195,7 @@ operators."
(c-lang-defconst c-block-prefix-disallowed-chars
;; Allow ':' for inherit list starters.
- d (cl-set-difference (c-lang-const c-block-prefix-disallowed-chars)
+ d (c--set-difference (c-lang-const c-block-prefix-disallowed-chars)
'(?:)))
(c-lang-defconst c-post-protection-token