[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] A small patch for org.el to fix error in clojure babel src block
From: |
Nicolas Goaziou |
Subject: |
Re: [O] A small patch for org.el to fix error in clojure babel src block code ref |
Date: |
Tue, 09 May 2017 08:41:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
"address@hidden" <address@hidden> writes:
> Here is the original discussion we disscusses.
> https://github.com/jkitchin/org-ref/issues/433
>
> And Here is the patch:
>
> #+BEGIN_SRC diff
> modified lisp/org.el
> @@ -9730,7 +9730,7 @@ active region."
> (setq sfuns
> (delq
> nil (mapcar (lambda (f)
> - (let (fs) (if (funcall f) (push f fs))))
> + (let (fs) (if (and (stringp f) (funcall f)) (push f fs))))
> (org-store-link-functions)))
The change above doesn't make sense, does it?
If F is a string, it cannot be funcall'ed. Since
`org-store-link-functions' only contains functions, this patch is
basically skipping the whole variable.
Regards,
--
Nicolas Goaziou