diff options
| author | Richard M. Stallman | 2006-05-01 20:17:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-05-01 20:17:24 +0000 |
| commit | d5aa078b92ac1795856e8895f5bcd52789efc95e (patch) | |
| tree | 33b67d037cd38b40545b825848e95852a24bc1a2 /lisp | |
| parent | 78d4839b3eeaa529e26f493b1210f002b6be754a (diff) | |
| download | emacs-d5aa078b92ac1795856e8895f5bcd52789efc95e.tar.gz emacs-d5aa078b92ac1795856e8895f5bcd52789efc95e.zip | |
(undo-outer-limit-truncate): Put quotes around buffer name in messages.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/simple.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index daf297d5fe2..5da9c955eb3 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1709,7 +1709,7 @@ This variable only matters if `undo-ask-before-discard' is non-nil.") | |||
| 1709 | ;; but we don't want to ask the question again. | 1709 | ;; but we don't want to ask the question again. |
| 1710 | (setq undo-extra-outer-limit (+ size 50000)) | 1710 | (setq undo-extra-outer-limit (+ size 50000)) |
| 1711 | (if (let (use-dialog-box track-mouse executing-kbd-macro ) | 1711 | (if (let (use-dialog-box track-mouse executing-kbd-macro ) |
| 1712 | (yes-or-no-p (format "Buffer %s undo info is %d bytes long; discard it? " | 1712 | (yes-or-no-p (format "Buffer `%s' undo info is %d bytes long; discard it? " |
| 1713 | (buffer-name) size))) | 1713 | (buffer-name) size))) |
| 1714 | (progn (setq buffer-undo-list nil) | 1714 | (progn (setq buffer-undo-list nil) |
| 1715 | (setq undo-extra-outer-limit nil) | 1715 | (setq undo-extra-outer-limit nil) |
| @@ -1717,7 +1717,7 @@ This variable only matters if `undo-ask-before-discard' is non-nil.") | |||
| 1717 | nil)) | 1717 | nil)) |
| 1718 | (display-warning '(undo discard-info) | 1718 | (display-warning '(undo discard-info) |
| 1719 | (concat | 1719 | (concat |
| 1720 | (format "Buffer %s undo info was %d bytes long.\n" | 1720 | (format "Buffer `%s' undo info was %d bytes long.\n" |
| 1721 | (buffer-name) size) | 1721 | (buffer-name) size) |
| 1722 | "The undo info was discarded because it exceeded \ | 1722 | "The undo info was discarded because it exceeded \ |
| 1723 | `undo-outer-limit'. | 1723 | `undo-outer-limit'. |