]> git.eshelyaron.com Git - emacs.git/commitdiff
(dabbrev--safe-replace-match): Use with-no-warnings.
authorRichard M. Stallman <rms@gnu.org>
Sun, 17 Aug 2003 00:16:25 +0000 (00:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 17 Aug 2003 00:16:25 +0000 (00:16 +0000)
lisp/dabbrev.el

index 11a8aac6f6e7b10d2f05f06f14d36c72400855ea..083ad7c9dc32a31188e3d43be63d911ca67f22dd 100644 (file)
@@ -851,7 +851,8 @@ of the start of the occurrence."
 
 (defun dabbrev--safe-replace-match (string &optional fixedcase literal)
   (if (eq major-mode 'picture-mode)
-      (picture-replace-match string fixedcase literal)
+      (with-no-warnings
+       (picture-replace-match string fixedcase literal))
     (replace-match string fixedcase literal)))
 
 ;;;----------------------------------------------------------------