From 5edd6d49dfa38fc4c93781b3ab9ec26c51cc9d86 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 16 Oct 2018 19:45:01 +0100 Subject: [PATCH] el/dot-emacs.el: Fix `asm-mode' comment highlighting. I think this actually works with all three comment syntaxes now. Go me. --- el/dot-emacs.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index ac20c56..f0569e6 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -3007,13 +3007,17 @@ strip numbers instead." (modify-syntax-entry ?. "w") (modify-syntax-entry ?\n ">") (setf fill-prefix nil) + (modify-syntax-entry ?. "_") + (modify-syntax-entry ?* ". 23") + (modify-syntax-entry ?/ ". 124b") + (modify-syntax-entry ?\n "> b") (local-set-key ";" 'self-insert-command) (mdw-standard-fill-prefix "\\([ \t]*;+[ \t]*\\)")) (defun mdw-asm-set-comment () (modify-syntax-entry ?; "." ) - (modify-syntax-entry asm-comment-char "