From c4bdf2a406328a498c783fd54d254309b2a775c7 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 27 Dec 2023 10:05:14 +0100 Subject: [PATCH] ; (completion-metadata): Mention 'narrow-completions-function'. --- lisp/minibuffer.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 2c31b9f10a0..4059e81cd6a 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -138,6 +138,9 @@ This metadata is an alist. Currently understood keys are: of completions. Can operate destructively. - `cycle-sort-function': function to sort entries when cycling. Works like `display-sort-function'. +- `narrow-completions-function': function for + narrowing (restricting) the completions list. This function + overrides `minibuffer-narrow-completions-function', which see. The metadata of a completion table should be constant between two boundaries." (let ((metadata (if (functionp table) (funcall table string pred 'metadata)))) -- 2.39.2