ghItlhpu' Nicolas Goaziou <[email protected]>: >> 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, > > No, it isn't: (facep nil) => nil
Interesting!
I get (in the *scratch* buffer):
(facep nil) → [face unspecified unspecified unspecified unspecified
unspecified unspecified unspecified unspecified unspecified unspecified
unspecified ...]
M-x emacs-version returns
GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2018-12-26, modified by Debian
So this is more likely an issue of Emacs itself? Maybe it has been
fixed in a later version?
Thanks!
Daniel
--
Daniel Borchmann
GPG (Mail) 0849 473E 6BF0 B504 DF0B D640 455E 3610 01FF 778F
signature.asc
Description: PGP signature
