branch: elpa/d-mode
commit f1d37ddd4065a352d205115d3949b44008d598b4
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
Fix byte-compiled version
Byte-compiled (.elc) version failed with:
‘c-nonsymbol-key’ got no (prior) value in d-mode (might be a cyclic
reference)
---
d-mode.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 0c757d7..8ce25fe 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: 201909121408
+;; Version: 201909121759
;; Keywords: D programming language emacs cc-mode
;; Package-Requires: ((emacs "25.1"))
@@ -76,6 +76,7 @@
;;; Code:
(require 'cc-mode)
+(require 'cc-langs)
;; Needed to prevent
;; "Symbol's value as variable is void:
compilation-error-regexp-alist-alist" errors
@@ -99,9 +100,7 @@
;; necessary to get them compiled.)
;; Comment out 'when-compile part for debugging
(eval-when-compile
- (require 'cc-langs)
- (require 'cc-fonts)
-)
+ (require 'cc-fonts))
(eval-and-compile
;; Make our mode known to the language constant system. Use Java