From 95fa12390d92a279e8dcc352fd27665d063ec945 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 8 Sep 2018 18:37:26 -0400 Subject: [PATCH] lang/org: fix unfontified remote links --- modules/lang/org/config.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)