From c542fab20f53374dd0c71dce949ef370fc76fa48 Mon Sep 17 00:00:00 2001 From: Mark Oteiza Date: Tue, 22 Nov 2016 11:09:15 -0500 Subject: [PATCH] ; Fix previous change strlen is already computed, just use the symbol. * lisp/ibuffer.el (ibuffer-compile-make-eliding-form): Use strlen. --- lisp/ibuffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index dc5681c4659..51d7cb90755 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -1571,7 +1571,7 @@ If point is on a group name, this function operates on that group." (defun ibuffer-compile-make-substring-form (strvar maxvar from-end-p) (if from-end-p ;; FIXME: not sure if this case is correct (Bug#24972) - `(truncate-string-to-width str (string-width str) (- strlen ,maxvar) nil ?\s) + `(truncate-string-to-width str strlen (- strlen ,maxvar) nil ?\s) `(truncate-string-to-width ,strvar ,maxvar nil ?\s))) (defun ibuffer-compile-make-format-form (strvar widthform alignment) -- 2.39.5