diff options
| author | Stefan Kangas | 2024-12-16 22:21:37 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2024-12-16 23:04:18 +0100 |
| commit | 80dc431b5a453c8200260969c8e2904e2d353b1e (patch) | |
| tree | 8abfbd0efe0e875748628e96c645081bb321321e /doc | |
| parent | 16eb038d472b5765beb3b18e1058846efbdf97af (diff) | |
| download | emacs-80dc431b5a453c8200260969c8e2904e2d353b1e.tar.gz emacs-80dc431b5a453c8200260969c8e2904e2d353b1e.zip | |
all-completions: Drop support for obsolete calling convention
* src/minibuf.c (Fall_completions):
* lisp/subr.el (all-completions): Drop support for old calling
convention, obsolete since 23.1.
* src/minibuf.c (Finternal_complete_buffer): Update caller.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/minibuf.texi | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index c5b9176d628..8f7d93c2749 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -966,21 +966,13 @@ too short). Both of those begin with the string @samp{foobar}. | |||
| 966 | @end smallexample | 966 | @end smallexample |
| 967 | @end defun | 967 | @end defun |
| 968 | 968 | ||
| 969 | @c Removed obsolete argument nospace. | ||
| 970 | @defun all-completions string collection &optional predicate | 969 | @defun all-completions string collection &optional predicate |
| 971 | This function returns a list of all possible completions of | 970 | This function returns a list of all possible completions of |
| 972 | @var{string}. The arguments to this function | 971 | @var{string}. The arguments to this function |
| 973 | @c (aside from @var{nospace}) | ||
| 974 | are the same as those of @code{try-completion}, and it | 972 | are the same as those of @code{try-completion}, and it |
| 975 | uses @code{completion-regexp-list} in the same way that | 973 | uses @code{completion-regexp-list} in the same way that |
| 976 | @code{try-completion} does. | 974 | @code{try-completion} does. |
| 977 | 975 | ||
| 978 | @ignore | ||
| 979 | The optional argument @var{nospace} is obsolete. If it is | ||
| 980 | non-@code{nil}, completions that start with a space are ignored unless | ||
| 981 | @var{string} starts with a space. | ||
| 982 | @end ignore | ||
| 983 | |||
| 984 | If @var{collection} is a function, it is called with three arguments: | 976 | If @var{collection} is a function, it is called with three arguments: |
| 985 | @var{string}, @var{predicate} and @code{t}; then @code{all-completions} | 977 | @var{string}, @var{predicate} and @code{t}; then @code{all-completions} |
| 986 | returns whatever the function returns. @xref{Programmed Completion}. | 978 | returns whatever the function returns. @xref{Programmed Completion}. |