[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode cca34f1 061/346: Add the mode hook definition. Fix
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode cca34f1 061/346: Add the mode hook definition. Fix a few spelling errors. |
Date: |
Sun, 29 Aug 2021 11:00:04 -0400 (EDT) |
branch: elpa/d-mode
commit cca34f189a048e6f139d4455acd72f7a56447e09
Author: Russel Winder <russel@winder.org.uk>
Commit: Russel Winder <russel@winder.org.uk>
Add the mode hook definition. Fix a few spelling errors.
---
d-mode.el | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index c875667..fe8e58d 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -6,7 +6,7 @@
;; Contributors: Russel Winder
;; Maintainer: Russel Winder
;; Created: March 2007
-;; Date: 2014-09-17
+;; Date: 2014-10-17
;; Version: 2.0.7-SNAPSHOT
;; Keywords: D programming language emacs cc-mode
@@ -425,6 +425,13 @@ operators."
;;----------------------------------------------------------------------------
;;;###autoload (add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode))
+;; Custom variables
+;;;###autoload
+(defcustom d-mode-hook nil
+ "*Hook called by `d-mode'."
+ :type 'hook
+ :group 'c)
+
;; For compatibility with Emacs < 24
(defalias 'd-parent-mode
(if (fboundp 'prog-mode) 'prog-mode 'fundamental-mode))
@@ -432,7 +439,9 @@ operators."
;;;###autoload
(define-derived-mode d-mode d-parent-mode "D"
"Major mode for editing code written in the D Programming Language.
+
See http://www.digitalmars.com/d for more information about the D language.
+
The hook `c-mode-common-hook' is run with no args at mode
initialization, then `d-mode-hook'.
@@ -453,9 +462,9 @@ Key bindings:
(syntax-propertize-rules ("`\\(\\\\\\)`" (1 "."))))))
;;----------------------------------------------------------------------------
-;; "Hideous hacks" to support appropriate fon-lock behaviour.
+;; "Hideous hacks" to support appropriate font-lock behaviour.
;;
-;; * auto/immutable: If we leve them in c-modifier-kwds (like
+;; * auto/immutable: If we leave them in c-modifier-kwds (like
;; c++-mode) then in the form "auto var;" var will be highlighted in
;; type name face. Moving auto/immutable to font-lock-add-keywords
;; lets cc-mode seeing them as a type name, so the next symbol can
- [nongnu] elpa/d-mode 09b2aa8 034/346: support interface inheritance, (continued)
- [nongnu] elpa/d-mode 09b2aa8 034/346: support interface inheritance, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5ef5f43 027/346: Re-add the removed __vector from the keyword lists. cf. 0268bde7ca6f188950486a8b55e380128223506d., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1ae5b7f 035/346: improve the auto/immutable and access level label workarounds, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9ce0830 045/346: fix typo, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 7bf4dbf 048/346: Merge pull request #20 from roysc/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 3d0b55e 051/346: Debian Sid only has Emacs 24.3. Changed the version number and the fix for backslash in backticks works fine., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c810702 053/346: Add a Git ignore file and ignore all compiled files., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f1df773 055/346: Merge pull request #28 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 56517b5 057/346: Update the date of last amendment., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f4176c0 060/346: Correct the spelling error Sergei spotted and reported., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode cca34f1 061/346: Add the mode hook definition. Fix a few spelling errors.,
ELPA Syncer <=
- [nongnu] elpa/d-mode 53efec4 063/346: Make the licence explicit in the README.md and add a copy of the licence text., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 29589e6 064/346: Line after 'else' should not be a statment-cont, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 281ea8f 020/346: Add 'delete' to c-paren-type-kwds., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9b22a93 023/346: Declare the 2.0.6 release., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2cb1fe0 030/346: don't highlight []* in type face, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2f684db 037/346: Fix deadlock in imenu generator, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 701c6be 044/346: use `cc-imenu-init' rather than `setq', ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode bac805f 050/346: Fix backslashes in backquotes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 86930c3 059/346: Rework a sentence of the README., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5691b70 069/346: Merge pull request #36 from dmakarov/master, ELPA Syncer, 2021/08/29