emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] The "problem" with `flet' in Org-mode and (future) Emacs 24.2


From: Vladimir Lomov
Subject: Re: [O] The "problem" with `flet' in Org-mode and (future) Emacs 24.2
Date: Sun, 22 Jul 2012 09:13:40 +0900
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,
** Eric Schulte [2012-07-20 11:43:45 -0600]:

[...]

> Okay, I've noticed a number of these errors as well.  It looks like the
> old version of flet allowed the definition of recursive functions, but
> the new cl-flet does not.

> Below find my previous patch which now uses cl-flet* instead of cl-flet
> in org-flet.  This should be a universal fix.

> Best,

Thanks, would work fine with this small change:

--- 0001-replace-flet-labels-with-org-flet-org-labels.patch.orig        
2012-07-22 09:10:44.000000000 +0900
+++ 0001-replace-flet-labels-with-org-flet-org-labels.patch     2012-07-21 
23:09:37.000000000 +0900
@@ -370,7 +370,7 @@
    "Check if PARAMS require expansion in CONTEXT.
  CONTEXT may be one of :tangle, :export or :eval."
 -  (flet ((intersect (as bs)
-+  (org-flet ((intersect (as bs)
++  (org-labels ((intersect (as bs)
                       (when as
                         (if (member (car as) bs)
                             (car as)

---
WBR, Vladimir Lomov

-- 
The core is not frozen, but slushy.
             -- Larry Wall in <address@hidden>



reply via email to

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