diff options
| author | Stefan Monnier | 2008-11-21 05:19:40 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-11-21 05:19:40 +0000 |
| commit | e1ff8dd08b3de283b9122afcc152fad4e7bfb26c (patch) | |
| tree | ef78b685c9fdb32752be41986f68cf4a6203dfde | |
| parent | cee53ed4b8f7743304226613bec083d2bcbde45f (diff) | |
| download | emacs-e1ff8dd08b3de283b9122afcc152fad4e7bfb26c.tar.gz emacs-e1ff8dd08b3de283b9122afcc152fad4e7bfb26c.zip | |
(Buffer-menu-short-ellipsis): Partly undo last change.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/buff-menu.el | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 271832a951a..d6108e04f28 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-11-21 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * buff-menu.el (Buffer-menu-short-ellipsis): Partly undo last change. | ||
| 4 | |||
| 1 | 2008-11-20 Juanma Barranquero <lekktu@gmail.com> | 5 | 2008-11-20 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * international/mule-util.el (set-nested-alist): Doc fix. Use `when'. | 7 | * international/mule-util.el (set-nested-alist): Doc fix. Use `when'. |
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index b028f699bed..26314349d1c 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el | |||
| @@ -596,7 +596,11 @@ For more information, see the function `buffer-menu'." | |||
| 596 | (interactive "P") | 596 | (interactive "P") |
| 597 | (display-buffer (list-buffers-noselect files-only))) | 597 | (display-buffer (list-buffers-noselect files-only))) |
| 598 | 598 | ||
| 599 | (defconst Buffer-menu-short-ellipsis (if (char-displayable-p ?…) "…" ":")) | 599 | (defconst Buffer-menu-short-ellipsis |
| 600 | ;; This file is preloaded, so we can't use char-displayable-p here | ||
| 601 | ;; because we don't know yet what display we're going to connect to. | ||
| 602 | ":" ;; (if (char-displayable-p ?…) "…" ":") | ||
| 603 | ) | ||
| 600 | 604 | ||
| 601 | (defun Buffer-menu-buffer+size (name size &optional name-props size-props) | 605 | (defun Buffer-menu-buffer+size (name size &optional name-props size-props) |
| 602 | (if (> (+ (string-width name) (string-width size) 2) | 606 | (if (> (+ (string-width name) (string-width size) 2) |