nit(org): reformat or block

I want to add a commented line as the first entry without showing all
lines as changed.
This commit is contained in:
Simen Endsjø 2024-05-23 21:32:48 +02:00 committed by Henrik Lissner
parent c70b966850
commit 63605189f3

View File

@ -501,10 +501,11 @@ relative to `org-directory', unless it is an absolute path."
;; Modify default file: links to colorize broken file links red ;; Modify default file: links to colorize broken file links red
(org-link-set-parameters (org-link-set-parameters
"file" :face (lambda (path) "file" :face (lambda (path)
(if (or (file-remote-p path) (if (or
;; filter out network shares on windows (slow) (file-remote-p path)
(if (featurep :system 'windows) (string-prefix-p "\\\\" path)) ;; filter out network shares on windows (slow)
(file-exists-p path)) (if (featurep :system 'windows) (string-prefix-p "\\\\" path))
(file-exists-p path))
'org-link 'org-link
'(warning org-link)))) '(warning org-link))))