From 6ee55cb13011f821a70b4617557b9d9baf28a28b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 17 Aug 2003 00:16:25 +0000 Subject: [PATCH] (dabbrev--safe-replace-match): Use with-no-warnings. --- lisp/dabbrev.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))) ;;;---------------------------------------------------------------- -- 2.39.2