mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-06 11:55:48 +00:00
* lisp/ibuffer.el (ibuffer-compile-format): Use string-width instead of length
This commit is contained in:
parent
56a47981cc
commit
7e2a8b17ae
@ -1638,7 +1638,7 @@ If point is on a group name, this function operates on that group."
|
||||
max
|
||||
'max)
|
||||
from-end-p))
|
||||
(setq strlen (length str))
|
||||
(setq strlen (string-width str))
|
||||
(setq str
|
||||
,(ibuffer-compile-make-eliding-form
|
||||
'str elide from-end-p)))))
|
||||
@ -1696,7 +1696,7 @@ If point is on a group name, this function operates on that group."
|
||||
outforms)
|
||||
(push `(setq str ,callform
|
||||
,@(when strlen-used
|
||||
`(strlen (length str))))
|
||||
`(strlen (string-width str))))
|
||||
outforms)
|
||||
(setq outforms
|
||||
(append outforms
|
||||
|
Loading…
Reference in New Issue
Block a user