diff options
-rw-r--r-- | lisp/progmodes/asm-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
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. |