# HG changeset patch # User Richard M. Stallman # Date 1061079385 0 # Node ID de409240d09ee24b9dc70f5a0688a34704f46d6b # Parent 2f18cefc29973a88528cfa9678731935e7d757b6 (dabbrev--safe-replace-match): Use with-no-warnings. diff -r 2f18cefc2997 -r de409240d09e lisp/dabbrev.el --- a/lisp/dabbrev.el Sun Aug 17 00:15:53 2003 +0000 +++ b/lisp/dabbrev.el Sun Aug 17 00:16:25 2003 +0000 @@ -851,7 +851,8 @@ (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))) ;;;----------------------------------------------------------------