(byte-compile-save-excursion): Make message consistent with others (no

final period).
This commit is contained in:
Glenn Morris 2009-12-01 03:14:02 +00:00
parent 0c9ff2c516
commit 3ab4308bab
2 changed files with 4 additions and 1 deletions

View file

@ -3714,7 +3714,7 @@ that suppresses all warnings during execution of BODY."
(defun byte-compile-save-excursion (form)
(if (and (eq 'set-buffer (car-safe (car-safe (cdr form))))
(byte-compile-warning-enabled-p 'suspicious))
(byte-compile-warn "`save-excursion' defeated by `set-buffer'."))
(byte-compile-warn "`save-excursion' defeated by `set-buffer'"))
(byte-compile-out 'byte-save-excursion 0)
(byte-compile-body-do-effect (cdr form))
(byte-compile-out 'byte-unbind 1))