|
From: | address@hidden |
Subject: | Re: [O] A small patch for org.el to fix error in clojure babel src block code ref |
Date: | Tue, 9 May 2017 16:07:58 +0800 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |