aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Oteiza2016-11-20 13:55:28 -0500
committerMark Oteiza2016-11-20 13:55:28 -0500
commit7e2a8b17aea197f2b2609878180d281ac2dfe0d4 (patch)
treee76d4485cad71a217bf753ce3d90f955811bfe33
parent56a47981cc921369dd124cc023ca1469225b1fa7 (diff)
downloademacs-7e2a8b17aea197f2b2609878180d281ac2dfe0d4.tar.gz
emacs-7e2a8b17aea197f2b2609878180d281ac2dfe0d4.zip
* lisp/ibuffer.el (ibuffer-compile-format): Use string-width instead of length
-rw-r--r--lisp/ibuffer.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 8d7ec59462d..8c641797858 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -1638,7 +1638,7 @@ If point is on a group name, this function operates on that group."
1638 max 1638 max
1639 'max) 1639 'max)
1640 from-end-p)) 1640 from-end-p))
1641 (setq strlen (length str)) 1641 (setq strlen (string-width str))
1642 (setq str 1642 (setq str
1643 ,(ibuffer-compile-make-eliding-form 1643 ,(ibuffer-compile-make-eliding-form
1644 'str elide from-end-p))))) 1644 'str elide from-end-p)))))
@@ -1696,7 +1696,7 @@ If point is on a group name, this function operates on that group."
1696 outforms) 1696 outforms)
1697 (push `(setq str ,callform 1697 (push `(setq str ,callform
1698 ,@(when strlen-used 1698 ,@(when strlen-used
1699 `(strlen (length str)))) 1699 `(strlen (string-width str))))
1700 outforms) 1700 outforms)
1701 (setq outforms 1701 (setq outforms
1702 (append outforms 1702 (append outforms