[Top][All Lists]

[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

From: Reuben Thomas
Subject: 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/)]
Date: Fri, 8 Sep 2017 00:06:51 +0100

On 5 September 2017 at 23:02, Nicolas Goaziou <address@hidden> wrote:
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.

​I've removed it.​

​Attached, a revised patch.


Attachment: 0001-Fix-logic-of-calling-org-make-link-desciption-functi.patch
Description: Text Data

reply via email to

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