From: Dmitry Gutov Date: Wed, 12 Jun 2024 21:46:00 +0000 (+0300) Subject: Highlight the suffix in *Completions* buffer in 'basic' style too X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~1055 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6b7ff60a5e71c161a064e27509fe4fb95cf74ddd;p=emacs.git Highlight the suffix in *Completions* buffer in 'basic' style too * lisp/minibuffer.el (completion-basic-all-completions): Make sure to highlight the suffix as well (bug#71419). --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index f62cb2566b2..144cda8cfdc 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -3816,7 +3816,7 @@ Return the new suffix." 'point (substring afterpoint 0 (cdr bounds))))) (all (completion-pcm--all-completions prefix pattern table pred))) - (completion-hilit-commonality all point (car bounds)))) + (completion-pcm--hilit-commonality pattern all))) ;;; Partial-completion-mode style completion.