From 5025b2566e72ba37b62c2a00feef46268fc9f468 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 15 Aug 2022 16:18:21 +0200 Subject: [PATCH] Fix fix_command for non-symbol functions * src/callint.c (fix_command): Don't bug out on commands that aren't symbols (like lambdas, for instance). --- src/callint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callint.c b/src/callint.c index c974967459c..8ef0e5240a5 100644 --- a/src/callint.c +++ b/src/callint.c @@ -171,7 +171,7 @@ static void fix_command (Lisp_Object function, Lisp_Object values) { /* Quick exit if there's no values to alter. */ - if (!CONSP (values)) + if (!CONSP (values) || !SYMBOLP (function)) return; Lisp_Object reps = Fget (function, Qinteractive_args); -- 2.39.5