[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
0001-org-el-use-only-link-descriptions-in-indirect-buffer.patch
Description: Text Data