diff options
author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2019-04-09 20:13:47 -0700 |
---|---|---|
committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2019-04-09 20:13:47 -0700 |
commit | 59994015f194985dbcb7f45a874c7646a223d49e (patch) | |
tree | dd972c137c6aae763a46c8a53c70175351bbceda | |
parent | 8d2f1df51aa02c101a3ce4655ff6ed6d2b64e4cf (diff) | |
download | emacs-59994015f194985dbcb7f45a874c7646a223d49e.tar.gz |
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.
-rw-r--r-- | lisp/simple.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 2646d7b0259..a0f2da7152c 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. |