diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-07-16 18:41:15 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-07-16 18:41:15 +0000 |
commit | 434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b (patch) | |
tree | 860a33d45b974ffb16201ccc4c7b632134591ba3 /lisp/progmodes/asm-mode.el | |
parent | 300f994a93cf97aab2be1a7fa0333f8bc02d3475 (diff) | |
download | emacs-434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b.tar.gz emacs-434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b.tar.bz2 emacs-434fc2d3ee96fe3cdfff6dd7687c7e1f3f8be76b.zip |
(asm-comment): Use with-no-warnings.
Diffstat (limited to 'lisp/progmodes/asm-mode.el')
-rw-r--r-- | lisp/progmodes/asm-mode.el | 3 |
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." (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 |