emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [bug?][ob-core] using remove-if


From: Rasmus
Subject: [O] [bug?][ob-core] using remove-if
Date: Tue, 30 Jul 2013 02:09:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi,

Regarding this commit:

          commit 3142297d69f6063221215757a3ba9c74adcf3e43
          Author: Eric Schulte <address@hidden>
          Date:   Fri Jul 26 11:48:51 2013 -0600.

remove-if is introduced in ob-core.el:

            (setf (cdr (assoc param params))
                  (remove-if (lambda (pair) (equal (car pair) name))
                             (cdr (assoc param params))))
            (setf params (remove-if (lambda (pair) (and (equal (car pair) param)
                                                   (null (cdr pair))))

I personally don't care too much if Org depends on cl, but it breaks
async export since cl is usually not loaded.

Thus, I guess it should (i) either be changed to org-remove-if or
there should be an autoload to remove-if.  I don't feel very
comfortable about messing with ob-core ob-core and I don't know if
org-remove-if is a drop-in replacement of remove-if so I havne't made
a patch.

–Rasmus

-- 
Don't panic!!!




reply via email to

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