From: Bastien Guerry Date: Tue, 9 Apr 2013 09:36:25 +0000 (+0200) Subject: * simple.el (choose-completion-string): Fix docstring (bug#14163). X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~503 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b39792eb9ed314c91c68ff55f78a5557d5e56534;p=emacs.git * simple.el (choose-completion-string): Fix docstring (bug#14163). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 95aadd40fd6..8eafcfacd98 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-04-09 Bastien Guerry + + * simple.el (choose-completion-string): Fix docstring (bug#14163). + 2013-04-08 Stefan Monnier * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144). diff --git a/lisp/simple.el b/lisp/simple.el index 9baa1b7c884..5adb634e195 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -6628,7 +6628,9 @@ the default method of inserting the completion in BUFFER.") (defun choose-completion-string (choice &optional buffer base-position insert-function) "Switch to BUFFER and insert the completion choice CHOICE. -BASE-POSITION, says where to insert the completion." +BASE-POSITION says where to insert the completion. +INSERT-FUNCTION says how to insert the completion and falls +back on `completion-list-insert-choice-function' when nil." ;; If BUFFER is the minibuffer, exit the minibuffer ;; unless it is reading a file name and CHOICE is a directory,