diff options
| author | Glenn Morris | 2014-02-27 00:01:22 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-02-27 00:01:22 -0800 |
| commit | ea7826ba52b21e97c27ccf4859eaeb8dca61319b (patch) | |
| tree | c9326adac81b8bfca0411ea1cd85972c4fec3c5d /doc/lispref | |
| parent | d926361813de2d50b42e63f1b9b603220ead6c7d (diff) | |
| download | emacs-ea7826ba52b21e97c27ccf4859eaeb8dca61319b.tar.gz emacs-ea7826ba52b21e97c27ccf4859eaeb8dca61319b.zip | |
Small doc related to new completion functions
* doc/lispref/minibuf.texi (Programmed Completion):
Mention completion-table-with-cache.
* lisp/minibuffer.el (completion-table-dynamic)
(completion-table-with-cache): Doc fixes.
* etc/NEWS: Related markup. Unrelated copyedit.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 6a105a03b3b..6eb45dc3f4f 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-02-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * minibuf.texi (Programmed Completion): | ||
| 4 | Mention completion-table-with-cache. | ||
| 5 | |||
| 1 | 2014-02-25 Glenn Morris <rgm@gnu.org> | 6 | 2014-02-25 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * display.texi (Window Systems): | 8 | * display.texi (Window Systems): |
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index d618912de8a..fded0dfdd92 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -1814,6 +1814,13 @@ possible completions of it. You can think of | |||
| 1814 | and the interface for programmed completion functions. | 1814 | and the interface for programmed completion functions. |
| 1815 | @end defun | 1815 | @end defun |
| 1816 | 1816 | ||
| 1817 | @defun completion-table-with-cache function &optional ignore-case | ||
| 1818 | This is a wrapper for @code{completion-table-dynamic} that saves the | ||
| 1819 | last argument-result pair. This means that multiple lookups with the | ||
| 1820 | same argument only need to call @var{function} once. This can be useful | ||
| 1821 | when a slow operation is involved, such as calling an external process. | ||
| 1822 | @end defun | ||
| 1823 | |||
| 1817 | @node Completion in Buffers | 1824 | @node Completion in Buffers |
| 1818 | @subsection Completion in Ordinary Buffers | 1825 | @subsection Completion in Ordinary Buffers |
| 1819 | @cindex inline completion | 1826 | @cindex inline completion |