]> 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>
Fri, 19 Jan 2024 10:06:00 +0000 (11:06 +0100)
lisp/minibuffer.el

index 2c31b9f10a0dc63d2088fdeaa5393e02db98515f..4059e81cd6a6943b44988c9d831240fd3f38d98e 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))))