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

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

[nongnu] elpa/d-mode 5146f2d 215/346: Clear some cc-mode constants


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 5146f2d 215/346: Clear some cc-mode constants
Date: Sun, 29 Aug 2021 11:00:34 -0400 (EDT)

branch: elpa/d-mode
commit 5146f2d7d2e028c8db6cb6909f157285ad170e55
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>

    Clear some cc-mode constants
    
    These don't seem to be necessary
    (at least according to current test coverage).
---
 d-mode.el | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/d-mode.el b/d-mode.el
index 8cdb40d..b93040f 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:  201909081931
+;; Version:  201909082054
 ;; Keywords:  D programming language emacs cc-mode
 ;; Package-Requires: ((emacs "25.1"))
 
@@ -265,8 +265,7 @@ The expression is added to `compilation-error-regexp-alist' 
and
 ;;   d '("enum"))
 
 (c-lang-defconst c-type-modifier-kwds
-  d '("lazy" "volatile"
-      "invariant" "enum" "__vector"))
+  d nil)
 
 (c-lang-defconst c-type-prefix-kwds
   ;; Keywords where the following name - if any - is a type name, and
@@ -415,6 +414,12 @@ The expression is added to 
`compilation-error-regexp-alist' and
   ;; e.g., enum foo : int { A, B, C };"
   d t)
 
+;; Enabled for java-mode, but we don't need it.
+;; (We can't reuse this for D templates because this is hard-wired to
+;; the < and > characters.)
+(c-lang-defconst c-recognize-<>-arglists
+  d nil)
+
 (defcustom d-font-lock-extra-types nil
   "*List of extra types (aside from the type keywords) to recognize in D mode.
 



reply via email to

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