From 434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 16 Jul 2005 18:41:15 +0000 Subject: [PATCH] (asm-comment): Use with-no-warnings. --- lisp/progmodes/asm-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2