# HG changeset patch # User Stefan Monnier # Date 1227244780 0 # Node ID 8474e0f678040f9331cc97fc7b709ab82516fd34 # Parent 3036a1081840165b70a03cb41cde889d16962eeb (Buffer-menu-short-ellipsis): Partly undo last change. diff -r 3036a1081840 -r 8474e0f67804 lisp/ChangeLog --- a/lisp/ChangeLog Fri Nov 21 02:24:40 2008 +0000 +++ b/lisp/ChangeLog Fri Nov 21 05:19:40 2008 +0000 @@ -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 -r 3036a1081840 -r 8474e0f67804 lisp/buff-menu.el --- a/lisp/buff-menu.el Fri Nov 21 02:24:40 2008 +0000 +++ b/lisp/buff-menu.el Fri Nov 21 05:19:40 2008 +0000 @@ -596,7 +596,11 @@ (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)