aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-07-16 18:41:15 +0000
committerRichard M. Stallman2005-07-16 18:41:15 +0000
commit434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b (patch)
tree860a33d45b974ffb16201ccc4c7b632134591ba3
parent300f994a93cf97aab2be1a7fa0333f8bc02d3475 (diff)
downloademacs-434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b.tar.gz
emacs-434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b.zip
(asm-comment): Use with-no-warnings.
-rw-r--r--lisp/progmodes/asm-mode.el3
1 files changed, 2 insertions, 1 deletions
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."
204 (let (comempty comment) 204 (let (comempty comment)
205 (save-excursion 205 (save-excursion
206 (beginning-of-line) 206 (beginning-of-line)
207 (setq comment (comment-search-forward (line-end-position) t)) 207 (with-no-warnings
208 (setq comment (comment-search-forward (line-end-position) t)))
208 (setq comempty (looking-at "[ \t]*$"))) 209 (setq comempty (looking-at "[ \t]*$")))
209 210
210 (cond 211 (cond