help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Killing org hyperlinks with one key


From: Emanuel Berg
Subject: Re: Killing org hyperlinks with one key
Date: Fri, 10 Jun 2022 20:36:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Alexandros Prekates wrote:

> In the original context , if i understand you, it looks as
> simple text with a different face and underlined.
>
> Here is the fuction that toggleis org links display:
> (defun org-toggle-link-display ()
>   "Toggle the literal or descriptive display of links."
>   (interactive)
>   (if org-link-descriptive (remove-from-invisibility-spec '(org-link))
>     (add-to-invisibility-spec '(org-link)))
>   (org-restart-font-lock)
>   (setq org-link-descriptive (not org-link-descriptive)))
>
> buffer-invisibility-spec seems to hold invisible text.

Maybe you don't need that if it's part of the interface.

But you do right to examine the source, that's what you do at
this point, see how they do to extract it.

Maybe that's a property as well somewhere, the URL?

--
underground experts united
https://dataswamp.org/~incal




reply via email to

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