mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(Buffer-menu-short-ellipsis): Partly undo last change.
This commit is contained in:
parent
cee53ed4b8
commit
e1ff8dd08b
2 changed files with 9 additions and 1 deletions
|
|
@ -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'.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue