lang/org: fix unfontified remote links
This commit is contained in:
parent
2019aaff97
commit
95fa12390d
1 changed files with 4 additions and 2 deletions
|
@ -221,8 +221,10 @@ unfold to point on startup."
|
|||
(org-link-set-parameters
|
||||
"file"
|
||||
:face (lambda (path)
|
||||
(unless (file-remote-p path)
|
||||
(if (file-exists-p path) 'org-link 'error))))
|
||||
(if (or (file-remote-p path)
|
||||
(file-exists-p path))
|
||||
'org-link
|
||||
'error)))
|
||||
|
||||
(eval-when-compile
|
||||
(defmacro def-org-file-link! (key dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue