]> git.eshelyaron.com Git - emacs.git/commitdiff
(asm-comment): Use with-no-warnings.
authorRichard M. Stallman <rms@gnu.org>
Sat, 16 Jul 2005 18:41:15 +0000 (18:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 16 Jul 2005 18:41:15 +0000 (18:41 +0000)
lisp/progmodes/asm-mode.el

index 94ac76c0686c7b59c1cd0684414ea18777ad6df6..c98dbdac8922c4b0611d819138bac37b3b58edd7 100644 (file)
@@ -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