changeset 106340:854ad9afde88

(byte-compile-save-excursion): Make message consistent with others (no final period).
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Dec 2009 03:14:02 +0000
parents 656eabdc03be
children 073d80030060
files lisp/ChangeLog lisp/emacs-lisp/bytecomp.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Dec 01 03:13:03 2009 +0000
+++ b/lisp/ChangeLog	Tue Dec 01 03:14:02 2009 +0000
@@ -1,5 +1,8 @@
 2009-12-01  Glenn Morris  <rgm@gnu.org>
 
+	* emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
+	consistent with others (no final period).
+
 	* mail/rmailmm.el (rmail-mime-handle): Doc fix.
 	(rmail-mime-show): Downcase the encoding.  (Bug#5070)
 
--- a/lisp/emacs-lisp/bytecomp.el	Tue Dec 01 03:13:03 2009 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Tue Dec 01 03:14:02 2009 +0000
@@ -3714,7 +3714,7 @@
 (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))