summaryrefslogtreecommitdiff
path: root/lisp/buff-menu.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-11-21 05:19:40 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-11-21 05:19:40 +0000
commite1ff8dd08b3de283b9122afcc152fad4e7bfb26c (patch)
treeef78b685c9fdb32752be41986f68cf4a6203dfde /lisp/buff-menu.el
parentcee53ed4b8f7743304226613bec083d2bcbde45f (diff)
downloademacs-e1ff8dd08b3de283b9122afcc152fad4e7bfb26c.tar.gz
(Buffer-menu-short-ellipsis): Partly undo last change.
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r--lisp/buff-menu.el6
1 files changed, 5 insertions, 1 deletions
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'."
(interactive "P")
(display-buffer (list-buffers-noselect files-only)))
-(defconst Buffer-menu-short-ellipsis (if (char-displayable-p ?…) "…" ":"))
+(defconst Buffer-menu-short-ellipsis
+ ;; This file is preloaded, so we can't use char-displayable-p here
+ ;; because we don't know yet what display we're going to connect to.
+ ":" ;; (if (char-displayable-p ?…) "…" ":")
+ )
(defun Buffer-menu-buffer+size (name size &optional name-props size-props)
(if (> (+ (string-width name) (string-width size) 2)