]> git.eshelyaron.com Git - emacs.git/commitdiff
(asm-comment): Don't match newline.
authorKarl Heuer <kwzh@gnu.org>
Sat, 7 May 1994 01:58:40 +0000 (01:58 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 7 May 1994 01:58:40 +0000 (01:58 +0000)
lisp/progmodes/asm-mode.el

index cd91a957bcfa9e221245641fdcc4fdafed5e5c6d..7362e739adec60003296a176db1d221faa05abd9 100644 (file)
@@ -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.