aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-05-07 01:58:40 +0000
committerKarl Heuer1994-05-07 01:58:40 +0000
commit24768ef9ce1bd26dd13159959d5d4e2c9ec14030 (patch)
tree8deffb3c76f7db58c30b6f465377761cb838ad31
parent96149b57e36636696c7b519a02bee34f60f75059 (diff)
downloademacs-24768ef9ce1bd26dd13159959d5d4e2c9ec14030.tar.gz
emacs-24768ef9ce1bd26dd13159959d5d4e2c9ec14030.zip
(asm-comment): Don't match newline.
-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."
189 189
190 ;; Nonblank line with no comment chars in it? 190 ;; Nonblank line with no comment chars in it?
191 ;; Then start a comment at the current comment column 191 ;; Then start a comment at the current comment column
192 ((asm-line-matches (format "^[^%c]+$" asm-comment-char)) 192 ((asm-line-matches (format "^[^%c\n]+$" asm-comment-char))
193 (indent-for-comment)) 193 (indent-for-comment))
194 194
195 ;; Flush-left comment present? Just insert character. 195 ;; Flush-left comment present? Just insert character.