[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Fix for org-make-link-description-function use in org-inser
Re: [O] Bug: Fix for org-make-link-description-function use in org-insert-link [9.0.10 (9.0.10-5-g1654a5-elpa @ /home/rrt/.emacs.d/elpa/org-20170904/)]
Wed, 06 Sep 2017 00:02:39 +0200
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Reuben Thomas <address@hidden> writes:
> If you (or someone) can confirm your interpretation above, I would be
> happy to update my patch to implement the two behaviours required, namely,
> that org-make-link-description-function is only called if the
> default-description argument to org-insert-link is nil
> and that if that function returns nil, then the link location is used.
> I would also clarify the docstring regarding the second behaviour.
It may not be a terribly useful behaviour anyway. You can always use
(lambda (link description) link) as
Perhaps we can simply remove "When nil, the link location will be used"
from the docstring. Your call.