emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/d-mode a612105 052/346: Add (require 'cl) as per Issue #23


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode a612105 052/346: Add (require 'cl) as per Issue #23.
Date: Sun, 29 Aug 2021 11:00:02 -0400 (EDT)

branch: elpa/d-mode
commit a6121058474c550e9626eba5bc47650be89bb990
Author: Russel Winder <russel@winder.org.uk>
Commit: Russel Winder <russel@winder.org.uk>

    Add (require 'cl) as per Issue #23.
---
 d-mode.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/d-mode.el b/d-mode.el
index 7a6d259..5efa24a 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -59,6 +59,9 @@
 
 (require 'cc-mode)
 
+;; The set-difference function is used from the Common Lisp extensions.
+(require 'cl)
+
 ;; These are only required at compile time to get the sources for the
 ;; language constants.  (The cc-fonts require and the font-lock
 ;; related constants could additionally be put inside an
@@ -261,7 +264,7 @@ operators."
 
 (c-lang-defconst c-before-label-kwds
   ;; Keywords that might be followed by a label identifier.
-  d    '("goto" "break" "continue"))
+  d '("goto" "break" "continue"))
 
 (c-lang-defconst c-constant-kwds
   ;; Keywords for constants.
@@ -273,11 +276,11 @@ operators."
 
 (c-lang-defconst c-inexpr-class-kwds
   ;; Keywords that can start classes inside expressions.
-  d    nil)
+  d nil)
 
 (c-lang-defconst c-inexpr-brace-list-kwds
   ;; Keywords that can start brace list blocks inside expressions.
-  d    nil)
+  d nil)
 
 (c-lang-defconst c-other-decl-kwds
   d '("module" "import"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]