From: Sean Whitton Date: Sat, 5 Oct 2024 09:23:26 +0000 (+0800) Subject: ; Tweak line breaks in last change X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34b680d989cbf0ef3fef356ff2167aca75bbf9eb;p=emacs.git ; Tweak line breaks in last change (cherry picked from commit 50e522123618011b742985fda941ed17e339a9aa) --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index f25d6d45546..006439ed087 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -979,11 +979,10 @@ matches exist." (string-width icomplete-separator) (+ 2 (string-width ellipsis)) ;; take {…} into account (string-width - (buffer-substring - (save-excursion - (goto-char (icomplete--field-beg)) - (pos-bol)) - (icomplete--field-end))))) + (buffer-substring (save-excursion + (goto-char (icomplete--field-beg)) + (pos-bol)) + (icomplete--field-end))))) (prospects-max ;; Max total length to use, including the minibuffer content. (* (+ icomplete-prospects-height