branch: elpa/d-mode
commit bac805f2a19ceac3748d64baf9b321eb0779ef59
Author: Per Nordlöw <[email protected]>
Commit: Per Nordlöw <[email protected]>

    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