# HG changeset patch # User Richard M. Stallman # Date 1121539275 0 # Node ID f0ee06ae643c35d88595b9826e13f633f7085096 # Parent 47148916c99be557350d69f3cc61684d341ade35 (asm-comment): Use with-no-warnings. diff -r 47148916c99b -r f0ee06ae643c lisp/progmodes/asm-mode.el --- a/lisp/progmodes/asm-mode.el Sat Jul 16 18:39:14 2005 +0000 +++ b/lisp/progmodes/asm-mode.el Sat Jul 16 18:41:15 2005 +0000 @@ -204,7 +204,8 @@ (let (comempty comment) (save-excursion (beginning-of-line) - (setq comment (comment-search-forward (line-end-position) t)) + (with-no-warnings + (setq comment (comment-search-forward (line-end-position) t))) (setq comempty (looking-at "[ \t]*$"))) (cond