From 34b680d989cbf0ef3fef356ff2167aca75bbf9eb Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 5 Oct 2024 17:23:26 +0800 Subject: [PATCH] ; Tweak line breaks in last change (cherry picked from commit 50e522123618011b742985fda941ed17e339a9aa) --- lisp/icomplete.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 -- 2.39.2