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=758977a287ba130ebb17d465975bd764fc3a1313;p=emacs.git ; (completion-metadata): Mention 'narrow-completions-function'. --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 4e3d4e316ad..b879dd8be47 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))))