From: Karl Heuer Date: Sat, 7 May 1994 01:58:40 +0000 (+0000) Subject: (asm-comment): Don't match newline. X-Git-Tag: emacs-19.34~8469 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24768ef9ce1bd26dd13159959d5d4e2c9ec14030;p=emacs.git (asm-comment): Don't match newline. --- 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.