aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Kangas2024-12-16 22:21:37 +0100
committerStefan Kangas2024-12-16 23:04:18 +0100
commit80dc431b5a453c8200260969c8e2904e2d353b1e (patch)
tree8abfbd0efe0e875748628e96c645081bb321321e /doc
parent16eb038d472b5765beb3b18e1058846efbdf97af (diff)
downloademacs-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.texi8
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
971This function returns a list of all possible completions of 970This 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})
974are the same as those of @code{try-completion}, and it 972are the same as those of @code{try-completion}, and it
975uses @code{completion-regexp-list} in the same way that 973uses @code{completion-regexp-list} in the same way that
976@code{try-completion} does. 974@code{try-completion} does.
977 975
978@ignore
979The optional argument @var{nospace} is obsolete. If it is
980non-@code{nil}, completions that start with a space are ignored unless
981@var{string} starts with a space.
982@end ignore
983
984If @var{collection} is a function, it is called with three arguments: 976If @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}
986returns whatever the function returns. @xref{Programmed Completion}. 978returns whatever the function returns. @xref{Programmed Completion}.