1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

(dabbrev--safe-replace-match): Use with-no-warnings.

This commit is contained in:
Richard M. Stallman 2003-08-17 00:16:25 +00:00
parent b82d844fa4
commit 6ee55cb130

View 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)))
;;;----------------------------------------------------------------