changeset 64394:f0ee06ae643c

(asm-comment): Use with-no-warnings.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 Jul 2005 18:41:15 +0000
parents 47148916c99b
children 16a2152f8d11
files lisp/progmodes/asm-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/asm-mode.el	Sat Jul 16 18:39:14 2005 +0000
+++ b/lisp/progmodes/asm-mode.el	Sat Jul 16 18:41:15 2005 +0000
@@ -204,7 +204,8 @@
   (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