emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116345: * simple.el (choose-completion-string-funct


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r116345: * simple.el (choose-completion-string-functions): Document fix.
Date: Sat, 08 Feb 2014 12:47:23 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116345
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/14153
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sat 2014-02-08 04:46:09 -0800
message:
  * simple.el (choose-completion-string-functions): Document fix.
  New calling convention.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/simple.el                 simple.el-20091113204419-o5vbwnq5f7feedwu-403
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-02-08 12:34:52 +0000
+++ b/lisp/ChangeLog    2014-02-08 12:46:09 +0000
@@ -1,5 +1,8 @@
 2014-02-08  Lars Ingebrigtsen  <address@hidden>
 
+       * simple.el (choose-completion-string-functions): Document new
+       calling convention (bug#14153).
+
        * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
 
        * find-dired.el (find-name-dired): Doc fix (bug#14290).

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2014-02-08 06:28:12 +0000
+++ b/lisp/simple.el    2014-02-08 12:46:09 +0000
@@ -6986,12 +6986,10 @@
 
 (defvar choose-completion-string-functions nil
   "Functions that may override the normal insertion of a completion choice.
-These functions are called in order with four arguments:
+These functions are called in order with three arguments:
 CHOICE - the string to insert in the buffer,
 BUFFER - the buffer in which the choice should be inserted,
-MINI-P - non-nil if BUFFER is a minibuffer, and
-BASE-SIZE - the number of characters in BUFFER before
-the string being completed.
+BASE-POSITION - where to insert the completion.
 
 If a function in the list returns non-nil, that function is supposed
 to have inserted the CHOICE in the BUFFER, and possibly exited


reply via email to

[Prev in Thread] Current Thread [Next in Thread]