[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: links are not highlighted anymore with Org Mode 9.2
From: |
Daniel Borchmann |
Subject: |
[O] Bug: links are not highlighted anymore with Org Mode 9.2 |
Date: |
Thu, 03 Jan 2019 13:18:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hey,
links in Org Mode 9.2 are not highlighted anymore if no :face keyword is
given in ‘org-link-parameters’. The reason for this seems to be that
‘org-activate-links’ uses the following code to determine which face to
use:
--8<---------------cut here---------------start------------->8---
(pcase (org-link-get-parameter type :face)
((and (pred functionp) face) (funcall face path))
((and (pred facep) face) face)
((and (pred consp) face) face) ;anonymous
(_ 'org-link))
--8<---------------cut here---------------end--------------->8---
However, ‘nil’ is a valid face, and thus this form returns ‘nil’ instead
of the default ‘org-link’ face if no :face keyword is given.
Best,
Daniel
PS: Thanks a ton for Org Mode, I literally couldn’t live without it! :)
--
Daniel Borchmann
GPG (Mail) 0849 473E 6BF0 B504 DF0B D640 455E 3610 01FF 778F
signature.asc
Description: PGP signature
- [O] Bug: links are not highlighted anymore with Org Mode 9.2,
Daniel Borchmann <=