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

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

[nongnu] elpa/d-mode bac805f 050/346: Fix backslashes in backquotes


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode bac805f 050/346: Fix backslashes in backquotes
Date: Sun, 29 Aug 2021 11:00:02 -0400 (EDT)

branch: elpa/d-mode
commit bac805f2a19ceac3748d64baf9b321eb0779ef59
Author: Per Nordlöw <per.nordlow@gmail.com>
Commit: Per Nordlöw <per.nordlow@gmail.com>

    Fix backslashes in backquotes
---
 d-mode.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/d-mode.el b/d-mode.el
index 47168a1..ffff48f 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -437,7 +437,10 @@ Key bindings:
   (easy-menu-add d-menu)
   (c-run-mode-hooks 'c-mode-common-hook 'd-mode-hook)
   (c-update-modeline)
-  (cc-imenu-init d-imenu-generic-expression))
+  (cc-imenu-init d-imenu-generic-expression)
+  (when (version<= "24.4" emacs-version)
+    (setq-local syntax-propertize-function
+            (syntax-propertize-rules ("`\\(\\\\\\)`" (1 "."))))))
 
 ;; Hideous hacks!
 ;;



reply via email to

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