[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fontification for inline src blocks
From: |
Tom Gillespie |
Subject: |
Re: [PATCH] Fontification for inline src blocks |
Date: |
Sun, 2 May 2021 14:13:15 -0700 |
> I see. I imagine the expected behaviour of such a function would be to
> toggle org-inline-src-prettify-results and redisplay?
Yeah, see org-toggle-link-display for inspiration I think.
;;;###autoload
(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)))
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/05/02
- Re: [PATCH] Fontification for inline src blocks, Tom Gillespie, 2021/05/02
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/05/02
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/05/12
- Re: [PATCH] Fontification for inline src blocks, Ihor Radchenko, 2021/05/12
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/05/12
- Re: [PATCH] Fontification for inline src blocks, Ihor Radchenko, 2021/05/12
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/05/12
- Re: [PATCH] Fontification for inline src blocks, Tim Cross, 2021/05/12
- Re: [PATCH] Fontification for inline src blocks, Ihor Radchenko, 2021/05/13
- Re: [PATCH] Fontification for inline src blocks, Sébastien Miquel, 2021/05/18