summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2019-04-12 07:51:35 -0700
committerGlenn Morris <rgm@gnu.org>2019-04-12 07:51:35 -0700
commita25f4d6ef5f8c3724274f6d0bb91300bcbe076ae (patch)
treeb42c66e58f9e306c9965d22baf1d034b8c5dd413 /src/minibuf.c
parentd4b90e598e77c90fadff9ce8bd7da31dd62225a4 (diff)
parent818a68b1cab9eb27d552ba825470fda802dbebcd (diff)
downloademacs-a25f4d6ef5f8c3724274f6d0bb91300bcbe076ae.tar.gz
Merge from origin/emacs-26
818a68b * etc/HISTORY: Update for Emacs 26.2 release. e04aa5a ; ChangeLog.3 update 8297e97 * etc/AUTHORS: Update. 8582936 Improve documentation of 'read-command' dc81c05 ; * CONTRIBUTE: Mention where to ask for the copyright assign... b77723a Fix an outdated URL in a comment
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index a0025e22720..10fd5e56ac3 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -995,7 +995,8 @@ the current input method and the setting of`enable-multibyte-characters'. */)
DEFUN ("read-command", Fread_command, Sread_command, 1, 2, 0,
doc: /* Read the name of a command and return as a symbol.
Prompt with PROMPT. By default, return DEFAULT-VALUE or its first element
-if it is a list. */)
+if it is a list. If DEFAULT-VALUE is omitted or nil, and the user enters
+null input, return a symbol whose name is an empty string. */)
(Lisp_Object prompt, Lisp_Object default_value)
{
Lisp_Object name, default_string;