branch: elpa/d-mode
commit a1dccad66fe68a021c3c62c5c27ff69a431788c7
Author: Roy Crihfield <[email protected]>
Commit: Roy Crihfield <[email protected]>
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"