summaryrefslogtreecommitdiff
path: root/lisp/progmodes/asm-mode.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-05-07 01:58:40 +0000
committerKarl Heuer <kwzh@gnu.org>1994-05-07 01:58:40 +0000
commit90208711b9aa78286965f8578ae7d0358d0f6385 (patch)
tree5899dbf36a902cc7fa97e7b93832a5e931d6e290 /lisp/progmodes/asm-mode.el
parent040c3861ed99f1969d1b7c60de83ebd5c8a28f4e (diff)
downloademacs-90208711b9aa78286965f8578ae7d0358d0f6385.tar.gz
(asm-comment): Don't match newline.
Diffstat (limited to 'lisp/progmodes/asm-mode.el')
-rw-r--r--lisp/progmodes/asm-mode.el2
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.