# HG changeset patch # User Karl Heuer # Date 768275920 0 # Node ID 2395bbd3dd6e4f87c447ac49c8904d998a870406 # Parent d635aebf8036c07fdafebcf1b20a323422956ed0 (asm-comment): Don't match newline. diff -r d635aebf8036 -r 2395bbd3dd6e lisp/progmodes/asm-mode.el --- a/lisp/progmodes/asm-mode.el Sat May 07 01:56:19 1994 +0000 +++ b/lisp/progmodes/asm-mode.el Sat May 07 01:58:40 1994 +0000 @@ -189,7 +189,7 @@ ;; 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.