Hello,

"numbch...@gmail.com" <numbch...@gmail.com> 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

Reply via email to