emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116347: (execute-extended-command): Clarify doc str


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r116347: (execute-extended-command): Clarify doc string (bug#13373).
Date: Sat, 08 Feb 2014 13:14:58 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116347
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/13373
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sat 2014-02-08 05:13:46 -0800
message:
  (execute-extended-command): Clarify doc string (bug#13373).
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/simple.el                 simple.el-20091113204419-o5vbwnq5f7feedwu-403
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-02-08 12:46:09 +0000
+++ b/lisp/ChangeLog    2014-02-08 13:13:46 +0000
@@ -2,6 +2,7 @@
 
        * simple.el (choose-completion-string-functions): Document new
        calling convention (bug#14153).
+       (execute-extended-command): Clarify doc string (bug#13373).
 
        * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
 

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2014-02-08 12:46:09 +0000
+++ b/lisp/simple.el    2014-02-08 13:13:46 +0000
@@ -1567,13 +1567,11 @@
 (defun execute-extended-command (prefixarg &optional command-name)
   ;; Based on Fexecute_extended_command in keyboard.c of Emacs.
   ;; Aaron S. Hawley <aaron.s.hawley(at)gmail.com> 2009-08-24
-  "Read function name, then read its arguments and call it.
-
-To pass a numeric argument to the command you are invoking, specify
-the numeric argument to this command.
-
+  "Read a command name, then read the arguments and call the command.
+Interactively, to pass a prefix argument to the command you are
+invoking, give a prefix argument to `execute-extended-command'.
 Noninteractively, the argument PREFIXARG is the prefix argument to
-give to the command you invoke, if it asks for an argument."
+give to the command you invoke."
   (interactive (list current-prefix-arg (read-extended-command)))
   ;; Emacs<24 calling-convention was with a single `prefixarg' argument.
   (if (null command-name)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]