From b90c2a2c28d2429807088d9c866c73c06bf516c5 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Tue, 24 May 2016 10:29:51 +0100 Subject: [PATCH] el/dot-emacs.el: Unelectrify `;' in `asm-mode'. Organization: Straylight/Edgeware From: Mark Wooding It's really annoying when `;' isn't the comment character, which it mostly isn't when writing for Gas. --- el/dot-emacs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 0b715da..2df8513 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -2589,6 +2589,7 @@ (defun mdw-fontify-asm () (modify-syntax-entry ?. "w") (modify-syntax-entry ?\n ">") (setf fill-prefix nil) + (local-set-key ";" 'self-insert-command) (mdw-standard-fill-prefix "\\([ \t]*;+[ \t]*\\)")) (defun mdw-asm-set-comment () -- [mdw]