summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-07 18:59:26 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-07 18:59:26 +0200
commit54e101844312f87d5283db5fd078d0756264caa2 (patch)
tree0f0fc3253456a7834742ec13f71f27c216d05993 /src
parentac6531adfffc5bc6729a9f481ce4bc60800c4d68 (diff)
downloademacs-54e101844312f87d5283db5fd078d0756264caa2.tar.gz
emacs-54e101844312f87d5283db5fd078d0756264caa2.tar.bz2
emacs-54e101844312f87d5283db5fd078d0756264caa2.zip
Clarify the `call-interactively' doc string, and add an example.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/callint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9186061530e..8c1af2a27ce 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * callint.c (Fcall_interactively): Change "reading args" to
+ "providing args" to try to clarify what it does (bug#1010).
+
2011-07-07 Kenichi Handa <handa@m17n.org>
* composite.c (composition_compute_stop_pos): Ignore a static
diff --git a/src/callint.c b/src/callint.c
index 1371b403e4b..26b161a25b3 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -234,7 +234,7 @@ fix_command (Lisp_Object input, Lisp_Object values)
}
DEFUN ("call-interactively", Fcall_interactively, Scall_interactively, 1, 3, 0,
- doc: /* Call FUNCTION, reading args according to its interactive calling specs.
+ doc: /* Call FUNCTION, providing args according to its interactive calling specs.
Return the value FUNCTION returns.
The function contains a specification of how to do the argument reading.
In the case of user-defined functions, this is specified by placing a call