changeset 99755:8474e0f67804

(Buffer-menu-short-ellipsis): Partly undo last change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 21 Nov 2008 05:19:40 +0000
parents 3036a1081840
children abaa7407abf7
files lisp/ChangeLog lisp/buff-menu.el
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <monnier@iro.umontreal.ca>
+
+	* buff-menu.el (Buffer-menu-short-ellipsis): Partly undo last change.
+
 2008-11-20  Juanma Barranquero  <lekktu@gmail.com>
 
 	* international/mule-util.el (set-nested-alist): Doc fix.  Use `when'.
--- 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)