aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEshel Yaron2025-06-08 21:07:20 +0200
committerEshel Yaron2025-06-08 21:07:20 +0200
commit4be63c85d2a5ec325f6724cb3a78cdcee18094db (patch)
treef114426bf80d1634d3251851c962899f7455d2dc
parent13a4cd5ed1ed0e44dc64ae8d08d36f7e02e2efd1 (diff)
downloademacs-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.texi9
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
2123when a slow operation is involved, such as calling an external process. 2123when 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
2127This function creates a completion table that behaves like the existing
2128completion table @var{table}, except with additional metadata, specified
2129by the completion metadata alist @var{metadata}. If @var{table} already
2130provides completion metadata, that metadata is merged with
2131@var{metadata}, giving precedence to @var{metadata} in case an entry
2132appears 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