From eb9a93b22180dc29bebe4dad014b958213eb6027 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 15 Oct 2025 20:14:43 +0300 Subject: [PATCH] * lisp/minibuffer.el: Fix recent change of scrolling truncated completions (completion--lazy-insert-strings-on-scroll): Don't move to the last completion candidate since this is what happens when scrolling without truncated completions buffer (bug#79506). --- lisp/minibuffer.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index b002087d14d..d92dc6615ca 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -2346,10 +2346,7 @@ Runs of equal candidate strings are eliminated. GROUP-FUN is a (when track-eob (with-selected-window window (goto-char (point-max)) - (previous-completion 1) - (recenter -1) - (when cursor-face-highlight-mode - (redisplay--update-cursor-face-highlight window)))))) + (recenter -1))))) (remove-hook 'window-scroll-functions 'completion--lazy-insert-strings-on-scroll t))