diff options
author | Richard M. Stallman <rms@gnu.org> | 2003-08-17 00:16:25 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2003-08-17 00:16:25 +0000 |
commit | 6ee55cb13011f821a70b4617557b9d9baf28a28b (patch) | |
tree | b9b905cb50a419c40c1222a67a019f13b078826d /lisp | |
parent | b82d844fa42f70b9d9ff6b34d7ea385692c1b742 (diff) | |
download | emacs-6ee55cb13011f821a70b4617557b9d9baf28a28b.tar.gz |
(dabbrev--safe-replace-match): Use with-no-warnings.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/dabbrev.el | 3 |
1 files changed, 2 insertions, 1 deletions
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))) ;;;---------------------------------------------------------------- |