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:
parent
b82d844fa4
commit
6ee55cb130
@ -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)))
|
||||
|
||||
;;;----------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user