mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: fix unfontified remote links
This commit is contained in:
@ -221,8 +221,10 @@ unfold to point on startup."
|
|||||||
(org-link-set-parameters
|
(org-link-set-parameters
|
||||||
"file"
|
"file"
|
||||||
:face (lambda (path)
|
:face (lambda (path)
|
||||||
(unless (file-remote-p path)
|
(if (or (file-remote-p path)
|
||||||
(if (file-exists-p path) 'org-link 'error))))
|
(file-exists-p path))
|
||||||
|
'org-link
|
||||||
|
'error)))
|
||||||
|
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(defmacro def-org-file-link! (key dir)
|
(defmacro def-org-file-link! (key dir)
|
||||||
|
Reference in New Issue
Block a user