From 24768ef9ce1bd26dd13159959d5d4e2c9ec14030 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 7 May 1994 01:58:40 +0000 Subject: [PATCH] (asm-comment): Don't match newline. --- lisp/progmodes/asm-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index cd91a957bcf..7362e739ade 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el @@ -189,7 +189,7 @@ repeatedly until you are satisfied with the kind of comment." ;; Nonblank line with no comment chars in it? ;; Then start a comment at the current comment column - ((asm-line-matches (format "^[^%c]+$" asm-comment-char)) + ((asm-line-matches (format "^[^%c\n]+$" asm-comment-char)) (indent-for-comment)) ;; Flush-left comment present? Just insert character. -- 2.39.5