emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] org.el: use only link descriptions in indirect buffer names


From: Juan Manuel Macías
Subject: Re: [PATCH] org.el: use only link descriptions in indirect buffer names
Date: Sun, 23 May 2021 11:25:40 +0000

Ihor Radchenko writes:

> You can simply do (org-link-display-format (org-get-heading 'no-tags))
>
> Best,
> Ihor

Oh!! I see that with my code I just reinvented the wheel :-D:

---
org-link-display-format is a compiled Lisp function in ‘ol.el’.

(org-link-display-format S)

Replace links in string S with their description.
If there is no description, use the link target.
---

Thank you very much for the suggestion, Ihor!

(new patch attached)

Best regards,

Juan Manuel

Attachment: 0001-org-el-use-only-link-descriptions-in-indirect-buffer.patch
Description: Text Data


reply via email to

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