changeset 7384:2395bbd3dd6e

(asm-comment): Don't match newline.
author Karl Heuer <kwzh@gnu.org>
date Sat, 07 May 1994 01:58:40 +0000
parents d635aebf8036
children ad1c04ef7695
files lisp/progmodes/asm-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/asm-mode.el	Sat May 07 01:56:19 1994 +0000
+++ b/lisp/progmodes/asm-mode.el	Sat May 07 01:58:40 1994 +0000
@@ -189,7 +189,7 @@
 
    ;; 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.