From: Eshel Yaron Date: Fri, 16 Aug 2024 14:35:37 +0000 (+0200) Subject: (minibuffer-narrow-completions-to-current): Drop text props X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14e465fa43fcd7bae9f591a996df3cd12734cc8c;p=emacs.git (minibuffer-narrow-completions-to-current): Drop text props --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 2ed61bd24ac..1c636a5fab9 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -6134,7 +6134,7 @@ exclude matches to current input from completions list." (let* ((table (make-hash-table :test #'equal)) (beg-end (minibuffer--completion-boundaries)) (beg (car beg-end)) (end (cdr beg-end)) - (current (buffer-substring beg end)) + (current (buffer-substring-no-properties beg end)) (start (minibuffer-prompt-end)) (input (buffer-substring start (point-max))) (all (completion-all-completions