From 63605189f3b8b15379463f33bdf329efe87a8c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Endsj=C3=B8?= Date: Thu, 23 May 2024 21:32:48 +0200 Subject: [PATCH] nit(org): reformat or block I want to add a commented line as the first entry without showing all lines as changed. --- modules/lang/org/config.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index bc2b720b8..8ae011dc8 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -501,10 +501,11 @@ relative to `org-directory', unless it is an absolute path." ;; Modify default file: links to colorize broken file links red (org-link-set-parameters "file" :face (lambda (path) - (if (or (file-remote-p path) - ;; filter out network shares on windows (slow) - (if (featurep :system 'windows) (string-prefix-p "\\\\" path)) - (file-exists-p path)) + (if (or + (file-remote-p path) + ;; filter out network shares on windows (slow) + (if (featurep :system 'windows) (string-prefix-p "\\\\" path)) + (file-exists-p path)) 'org-link '(warning org-link))))