changeset 52206:de409240d09e

(dabbrev--safe-replace-match): Use with-no-warnings.
author Richard M. Stallman <rms@gnu.org>
date Sun, 17 Aug 2003 00:16:25 +0000
parents 2f18cefc2997
children c26f56efcd5d
files lisp/dabbrev.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dabbrev.el	Sun Aug 17 00:15:53 2003 +0000
+++ b/lisp/dabbrev.el	Sun Aug 17 00:16:25 2003 +0000
@@ -851,7 +851,8 @@
 
 (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)))
 
 ;;;----------------------------------------------------------------