aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2005-07-16 18:41:15 +0000
committerRichard M. Stallman <[email protected]>2005-07-16 18:41:15 +0000
commit434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b (patch)
tree860a33d45b974ffb16201ccc4c7b632134591ba3 /lisp/progmodes
parent300f994a93cf97aab2be1a7fa0333f8bc02d3475 (diff)
(asm-comment): Use with-no-warnings.
Diffstat (limited to 'lisp/progmodes')
-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 94ac76c068..c98dbdac89 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