diff options
| author | Lars Ingebrigtsen | 2014-02-08 05:13:46 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-02-08 05:13:46 -0800 |
| commit | 54dd147ac382d97eb56672dec8e4e4993f80a343 (patch) | |
| tree | e979b014a92e0b807dcc2666b5a0d390d3c350d2 | |
| parent | 6fbf6c29f4c79dab82c35991945558b6e192a372 (diff) | |
| download | emacs-54dd147ac382d97eb56672dec8e4e4993f80a343.tar.gz emacs-54dd147ac382d97eb56672dec8e4e4993f80a343.zip | |
(execute-extended-command): Clarify doc string (bug#13373).
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | lisp/simple.el | 10 |
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 | 1571 | Interactively, to pass a prefix argument to the command you are | |
| 1572 | To pass a numeric argument to the command you are invoking, specify | 1572 | invoking, give a prefix argument to `execute-extended-command'. |
| 1573 | the numeric argument to this command. | ||
| 1574 | |||
| 1575 | Noninteractively, the argument PREFIXARG is the prefix argument to | 1573 | Noninteractively, the argument PREFIXARG is the prefix argument to |
| 1576 | give to the command you invoke, if it asks for an argument." | 1574 | give 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) |