]> git.eshelyaron.com Git - emacs.git/commitdiff
; (completion-metadata): Mention 'narrow-completions-function'.
authorEshel Yaron <me@eshelyaron.com>
Wed, 27 Dec 2023 09:05:14 +0000 (10:05 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 27 Dec 2023 09:10:25 +0000 (10:10 +0100)
lisp/minibuffer.el

index 4e3d4e316ad4c489b798d26e23f77b7eb2fd077a..b879dd8be474ea644d4848673ab31eb1be933568 100644 (file)
@@ -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))))