From: Eshel Yaron Date: Wed, 27 Dec 2023 09:05:14 +0000 (+0100) Subject: ; (completion-metadata): Mention 'narrow-completions-function'. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4bdf2a406328a498c783fd54d254309b2a775c7;p=emacs.git ; (completion-metadata): Mention 'narrow-completions-function'. --- 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))))