From: Richard M. Stallman Date: Sun, 17 Aug 2003 00:16:25 +0000 (+0000) Subject: (dabbrev--safe-replace-match): Use with-no-warnings. X-Git-Tag: ttn-vms-21-2-B4~9098 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ee55cb13011f821a70b4617557b9d9baf28a28b;p=emacs.git (dabbrev--safe-replace-match): Use with-no-warnings. --- diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index 11a8aac6f6e..083ad7c9dc3 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -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))) ;;;----------------------------------------------------------------