diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 06cedc4c4..bfdf2785f 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -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)