]> git.eshelyaron.com Git - emacs.git/commitdiff
; Tweak line breaks in last change
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 5 Oct 2024 09:23:26 +0000 (17:23 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 6 Oct 2024 06:50:01 +0000 (08:50 +0200)
(cherry picked from commit 50e522123618011b742985fda941ed17e339a9aa)

lisp/icomplete.el

index f25d6d45546f3350e89e6830d7f1c2fbab1df3ec..006439ed087de3a0524c440bd4446d71270ae318 100644 (file)
@@ -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