From b39792eb9ed314c91c68ff55f78a5557d5e56534 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 9 Apr 2013 11:36:25 +0200 Subject: [PATCH] * simple.el (choose-completion-string): Fix docstring (bug#14163). --- lisp/ChangeLog | 4 ++++ lisp/simple.el | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) 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, -- 2.39.2