diff options
| author | Eshel Yaron | 2025-06-08 21:07:20 +0200 |
|---|---|---|
| committer | Eshel Yaron | 2025-06-08 21:07:20 +0200 |
| commit | 4be63c85d2a5ec325f6724cb3a78cdcee18094db (patch) | |
| tree | f114426bf80d1634d3251851c962899f7455d2dc | |
| parent | 13a4cd5ed1ed0e44dc64ae8d08d36f7e02e2efd1 (diff) | |
| download | emacs-4be63c85d2a5ec325f6724cb3a78cdcee18094db.tar.gz emacs-4be63c85d2a5ec325f6724cb3a78cdcee18094db.zip | |
; Document 'completion-table-with-metadata' in the ELisp manual
* doc/lispref/minibuf.texi (Programmed Completion): Document
'completion-table-with-metadata'.
| -rw-r--r-- | doc/lispref/minibuf.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 3cc206d2e1d..6222809d0dc 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -2123,6 +2123,15 @@ same argument only need to call @var{function} once. This can be useful | |||
| 2123 | when a slow operation is involved, such as calling an external process. | 2123 | when a slow operation is involved, such as calling an external process. |
| 2124 | @end defun | 2124 | @end defun |
| 2125 | 2125 | ||
| 2126 | @defun completion-table-with-metadata table metadata | ||
| 2127 | This function creates a completion table that behaves like the existing | ||
| 2128 | completion table @var{table}, except with additional metadata, specified | ||
| 2129 | by the completion metadata alist @var{metadata}. If @var{table} already | ||
| 2130 | provides completion metadata, that metadata is merged with | ||
| 2131 | @var{metadata}, giving precedence to @var{metadata} in case an entry | ||
| 2132 | appears both. | ||
| 2133 | @end defun | ||
| 2134 | |||
| 2126 | @node Completion in Buffers | 2135 | @node Completion in Buffers |
| 2127 | @subsection Completion in Ordinary Buffers | 2136 | @subsection Completion in Ordinary Buffers |
| 2128 | @cindex inline completion | 2137 | @cindex inline completion |