From: Richard M. Stallman Date: Sat, 16 Jul 2005 18:41:15 +0000 (+0000) Subject: (asm-comment): Use with-no-warnings. X-Git-Tag: emacs-pretest-22.0.90~8083 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b;p=emacs.git (asm-comment): Use with-no-warnings. --- diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 94ac76c0686..c98dbdac892 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el @@ -204,7 +204,8 @@ repeatedly until you are satisfied with the kind of comment." (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