aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/simple.el10
2 files changed, 5 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f18a55ce202..0ddce4d9d2d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,7 @@
2 2
3 * simple.el (choose-completion-string-functions): Document new 3 * simple.el (choose-completion-string-functions): Document new
4 calling convention (bug#14153). 4 calling convention (bug#14153).
5 (execute-extended-command): Clarify doc string (bug#13373).
5 6
6 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198). 7 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
7 8
diff --git a/lisp/simple.el b/lisp/simple.el
index 7576a6861fc..0a96cd9378b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1567,13 +1567,11 @@ If the value is non-nil and not a number, we wait 2 seconds."
1567(defun execute-extended-command (prefixarg &optional command-name) 1567(defun execute-extended-command (prefixarg &optional command-name)
1568 ;; Based on Fexecute_extended_command in keyboard.c of Emacs. 1568 ;; Based on Fexecute_extended_command in keyboard.c of Emacs.
1569 ;; Aaron S. Hawley <aaron.s.hawley(at)gmail.com> 2009-08-24 1569 ;; Aaron S. Hawley <aaron.s.hawley(at)gmail.com> 2009-08-24
1570 "Read function name, then read its arguments and call it. 1570 "Read a command name, then read the arguments and call the command.
1571 1571Interactively, to pass a prefix argument to the command you are
1572To pass a numeric argument to the command you are invoking, specify 1572invoking, give a prefix argument to `execute-extended-command'.
1573the numeric argument to this command.
1574
1575Noninteractively, the argument PREFIXARG is the prefix argument to 1573Noninteractively, the argument PREFIXARG is the prefix argument to
1576give to the command you invoke, if it asks for an argument." 1574give to the command you invoke."
1577 (interactive (list current-prefix-arg (read-extended-command))) 1575 (interactive (list current-prefix-arg (read-extended-command)))
1578 ;; Emacs<24 calling-convention was with a single `prefixarg' argument. 1576 ;; Emacs<24 calling-convention was with a single `prefixarg' argument.
1579 (if (null command-name) 1577 (if (null command-name)