]> git.eshelyaron.com Git - emacs.git/commitdiff
(undo-outer-limit-truncate): Put quotes around buffer name in messages.
authorRichard M. Stallman <rms@gnu.org>
Mon, 1 May 2006 20:17:24 +0000 (20:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 1 May 2006 20:17:24 +0000 (20:17 +0000)
lisp/simple.el

index daf297d5fe2b8585977b4f1226986c45275432e7..5da9c955eb369a17ba741d706066bb3313db8d2c 100644 (file)
@@ -1709,7 +1709,7 @@ This variable only matters if `undo-ask-before-discard' is non-nil.")
        ;; but we don't want to ask the question again.
        (setq undo-extra-outer-limit (+ size 50000))
        (if (let (use-dialog-box track-mouse executing-kbd-macro )
-             (yes-or-no-p (format "Buffer %s undo info is %d bytes long; discard it? "
+             (yes-or-no-p (format "Buffer `%s' undo info is %d bytes long; discard it? "
                                   (buffer-name) size)))
            (progn (setq buffer-undo-list nil)
                   (setq undo-extra-outer-limit nil)
@@ -1717,7 +1717,7 @@ This variable only matters if `undo-ask-before-discard' is non-nil.")
          nil))
     (display-warning '(undo discard-info)
                     (concat
-                     (format "Buffer %s undo info was %d bytes long.\n"
+                     (format "Buffer `%s' undo info was %d bytes long.\n"
                              (buffer-name) size)
                      "The undo info was discarded because it exceeded \
 `undo-outer-limit'.