[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 5999401: Note that choose-completion-string-funct
From: |
Eric Abrahamsen |
Subject: |
[Emacs-diffs] emacs-26 5999401: Note that choose-completion-string-functions funcs take four args |
Date: |
Tue, 9 Apr 2019 23:16:25 -0400 (EDT) |
branch: emacs-26
commit 59994015f194985dbcb7f45a874c7646a223d49e
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Note that choose-completion-string-functions funcs take four args
* lisp/simple.el (choose-completion-string-functions): Functions in
this list actually need to accept four arguments, though the fourth
should be ignored.
---
lisp/simple.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/simple.el b/lisp/simple.el
index 2646d7b..a0f2da7 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -8181,6 +8181,9 @@ CHOICE - the string to insert in the buffer,
BUFFER - the buffer in which the choice should be inserted,
BASE-POSITION - where to insert the completion.
+Functions should also accept and ignore a potential fourth
+argument, passed for backwards compatibility.
+
If a function in the list returns non-nil, that function is supposed
to have inserted the CHOICE in the BUFFER, and possibly exited
the minibuffer; no further functions will be called.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 5999401: Note that choose-completion-string-functions funcs take four args,
Eric Abrahamsen <=