[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 2de6f73 145/346: Fix indentation on Emacs 26
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 2de6f73 145/346: Fix indentation on Emacs 26 |
Date: |
Sun, 29 Aug 2021 11:00:19 -0400 (EDT) |
branch: elpa/d-mode
commit 2de6f736745eb581b89435ae82130ab6e0278ef0
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>
Fix indentation on Emacs 26
In Emacs 26, cc-mode adds a new concept (noise macros) along with
several related constants and variables. Unless these are properly
processed during cc-mode initialization, attempting to indent code will
result in the error: (wrong-type-argument stringp nil)
This commit adds an invocation to the appropriate initialization
function when it is present.
---
d-mode.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/d-mode.el b/d-mode.el
index 021d4db..bb8848d 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -7,7 +7,7 @@
;; Maintainer: Russel Winder <russel@winder.org.uk>
;; Vladimir Panteleev <vladimir@thecybershadow.net>
;; Created: March 2007
-;; Version: 201610110325
+;; Version: 201610111121
;; Keywords: D programming language emacs cc-mode
;;;; NB Version number is date and time yyyymmddhhMM UTC.
@@ -590,6 +590,8 @@ Key bindings:
abbrev-mode t)
(use-local-map d-mode-map)
(c-init-language-vars d-mode)
+ (when (fboundp 'c-make-noise-macro-regexps)
+ (c-make-noise-macro-regexps))
(c-common-init 'd-mode)
(easy-menu-add d-menu)
(c-run-mode-hooks 'c-mode-common-hook 'd-mode-hook)
- [nongnu] elpa/d-mode e64d5fc 169/346: .travis.yml: Update with emacs-travis compatibility updates, (continued)
- [nongnu] elpa/d-mode e64d5fc 169/346: .travis.yml: Update with emacs-travis compatibility updates, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b5d936d 178/346: Fix imenu hang with unterminated function declaration, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode df1edde 182/346: Fix imenu with extern declarations, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 3f34028 185/346: Fix imenu with AtAttributes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b7dc06e 186/346: Fix imenu with function non-template arg list on own line, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1ec5880 188/346: Fix another bug related to `-delimited strings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 781a94d 068/346: Add doc-comment style that recognizes doxygen and D doc-comments., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2ef7c5c 077/346: Add d-mode testing infrastructure., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e35790c 137/346: tests: Disable #39 test for Emacs <24.4 too, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 4f67ef2 143/346: Add self as maintainer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2de6f73 145/346: Fix indentation on Emacs 26,
ELPA Syncer <=
- [nongnu] elpa/d-mode 1407db2 163/346: Add enums to imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode ace2970 164/346: Fix imenu for functions with parameters defaulting to function calls, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8d0ed04 172/346: README: Use syntax highlighting in code blocks, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 026fceb 176/346: Update auto-mode-alist when run from init file (fixes #88) (#89), ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 385cda4 177/346: Fix extant checkdoc, byte-compilation and fontification warnings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 86a86dd 110/346: Merge pull request #68 from sdilts/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode facf01a 187/346: Fix imenu with inout types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 951ca5c 212/346: Remove code incompatible with older Emacs versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 4dce323 229/346: README.md: Add note about compatibility, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b1d752a 233/346: Fix buffer modification when invoking imenu, ELPA Syncer, 2021/08/29