bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11258: 24.1.50; lexical binding inconsistencies


From: Stefan Monnier
Subject: bug#11258: 24.1.50; lexical binding inconsistencies
Date: Wed, 28 Aug 2013 14:28:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Testing my recipe today with (emacs-version) => "GNU Emacs 24.3.50.1
> (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)\n of 2013-04-10 on dex,
> modified by Debian", I see that the behavior is still the same.

I installed the trivial patch below, which should fix it.  Sorry for
that ridiculous delay.


        Stefan


=== modified file 'src/eval.c'
--- src/eval.c  2013-08-12 07:12:07 +0000
+++ src/eval.c  2013-08-28 18:24:19 +0000
@@ -2149,6 +2149,8 @@
   if (SYMBOLP (fun) && !NILP (fun)
       && (fun = XSYMBOL (fun)->function, SYMBOLP (fun)))
     fun = indirect_function (fun);
+  else
+    fun = Ffunction (Fcons (fun, Qnil));
 
   if (SUBRP (fun))
     {





reply via email to

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