aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2012-06-26 19:09:09 -0400
committerStefan Monnier2012-06-26 19:09:09 -0400
commit8edd4a2b64e78462eb9d50f905e9e72d20381dd9 (patch)
tree6f682d8130e5dea36d5d4fd73872626d23863435 /src
parent3ea82dffd7b2c17a504e336019b70c65c198f6fa (diff)
downloademacs-8edd4a2b64e78462eb9d50f905e9e72d20381dd9.tar.gz
emacs-8edd4a2b64e78462eb9d50f905e9e72d20381dd9.zip
* src/eval.c (Fapply): Allow calling it with a single argument.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/eval.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ef1f210ba66..9b412fd01e3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * eval.c (Fapply): Allow calling it with a single argument.
4
12012-06-26 Eli Zaretskii <eliz@gnu.org> 52012-06-26 Eli Zaretskii <eliz@gnu.org>
2 6
3 * s/ms-w32.h (strcasecmp, strncasecmp) [_MSC_VER]: Redirect to 7 * s/ms-w32.h (strcasecmp, strncasecmp) [_MSC_VER]: Redirect to
@@ -9,7 +13,7 @@
9 * alloc.c (allocate_window): Zero out non-Lisp part of newly 13 * alloc.c (allocate_window): Zero out non-Lisp part of newly
10 allocated window. 14 allocated window.
11 (allocate_process): Likewise for new process. 15 (allocate_process): Likewise for new process.
12 (allocate_terminal): Changed to use offsetof. 16 (allocate_terminal): Change to use offsetof.
13 (allocate_frame): Likewise. 17 (allocate_frame): Likewise.
14 * frame.c (make_frame): Omit redundant initialization. 18 * frame.c (make_frame): Omit redundant initialization.
15 * window.c (make_parent_window): Use memset. 19 * window.c (make_parent_window): Use memset.
diff --git a/src/eval.c b/src/eval.c
index 3360a6b9a56..bff997439e0 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2242,7 +2242,7 @@ eval_sub (Lisp_Object form)
2242 return val; 2242 return val;
2243} 2243}
2244 2244
2245DEFUN ("apply", Fapply, Sapply, 2, MANY, 0, 2245DEFUN ("apply", Fapply, Sapply, 1, MANY, 0,
2246 doc: /* Call FUNCTION with our remaining args, using our last arg as list of args. 2246 doc: /* Call FUNCTION with our remaining args, using our last arg as list of args.
2247Then return the value FUNCTION returns. 2247Then return the value FUNCTION returns.
2248Thus, (apply '+ 1 2 '(3 4)) returns 10. 2248Thus, (apply '+ 1 2 '(3 4)) returns 10.