From: Stefan Monnier Date: Fri, 21 Nov 2008 05:19:40 +0000 (+0000) Subject: (Buffer-menu-short-ellipsis): Partly undo last change. X-Git-Tag: emacs-pretest-23.0.90~1671 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1ff8dd08b3de283b9122afcc152fad4e7bfb26c;p=emacs.git (Buffer-menu-short-ellipsis): Partly undo last change. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 271832a951a..d6108e04f28 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-11-21 Stefan Monnier + + * buff-menu.el (Buffer-menu-short-ellipsis): Partly undo last change. + 2008-11-20 Juanma Barranquero * 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'." (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)