summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2013-10-29 10:46:23 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2013-10-29 10:46:23 -0400
commitdee4ba59792238f9fd69ba7f5bf4f2711da52030 (patch)
treeda0a9787aab3899e967618f493e16b56be8ed47d /src/eval.c
parente54711f396a93b280f6a8b879330e0780425c1ae (diff)
downloademacs-dee4ba59792238f9fd69ba7f5bf4f2711da52030.tar.gz
* src/eval.c (run_hook_with_args): Use FUNCTIONP.
* test/indent/css-mode.css (.x2): Test alignement inside braces. * test/indent/prolog.prolog: Test alignment of ->; with operator at bol.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 1e0a63a0ece..a25dc1b5aa9 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2479,7 +2479,7 @@ run_hook_with_args (ptrdiff_t nargs, Lisp_Object *args,
if (EQ (val, Qunbound) || NILP (val))
return ret;
- else if (!CONSP (val) || EQ (XCAR (val), Qlambda))
+ else if (!CONSP (val) || FUNCTIONP (val))
{
args[0] = val;
return funcall (nargs, args);