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

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

[nongnu] elpa/d-mode a1dccad 017/346: Added override to c-modifier-kwds.


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode a1dccad 017/346: Added override to c-modifier-kwds. Changed functionp to fboundp
Date: Sun, 29 Aug 2021 10:59:57 -0400 (EDT)

branch: elpa/d-mode
commit a1dccad66fe68a021c3c62c5c27ff69a431788c7
Author: Roy Crihfield <rscrihf@gmail.com>
Commit: Roy Crihfield <rscrihf@gmail.com>

    Added override to c-modifier-kwds. Changed functionp to fboundp
---
 d-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/d-mode.el b/d-mode.el
index 5661fbf..a2e93d8 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -151,8 +151,9 @@ operators."
 ;; Keywords that can prefix normal declarations of identifiers
 (c-lang-defconst c-modifier-kwds
   d '("__gshared" "auto" "abstract" "const" "deprecated" "extern"
-      "final" "immutable" "inout" "lazy" "mixin" "private" "protected"
-      "public" "scope" "shared" "static" "synchronized" "volatile" ))
+      "final" "immutable" "inout" "lazy" "mixin" "override" "private"
+      "protected" "public" "scope" "shared" "static" "synchronized"
+      "volatile"))
 
 (c-lang-defconst c-class-decl-kwds
   ;; Keywords introducing declarations where the following block (if any)
@@ -369,7 +370,7 @@ operators."
 
 ;; For compatibility with Emacs < 24
 (defalias 'd-parent-mode
-  (if (functionp 'prog-mode) 'prog-mode 'fundamental-mode))
+  (if (fboundp 'prog-mode) 'prog-mode 'fundamental-mode))
 
 ;;;###autoload
 (define-derived-mode d-mode d-parent-mode "D"



reply via email to

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