mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
fix(org): correct face for doom-user links
`org-link-set-parameters` accepts `:face` for a function returning a face or a symbol naming a face. Use a lambda returning `org-priority` to avoid it being called directly as a function.
This commit is contained in:
committed by
Henrik Lissner
parent
abd29569a6
commit
f6851d56ef
@@ -614,7 +614,9 @@ relative to `org-directory', unless it is an absolute path."
|
||||
(format "https://github.com/%s"
|
||||
(string-remove-prefix
|
||||
"@" (+org-link-read-desc-at-point link)))))
|
||||
:face 'org-priority)
|
||||
:face (lambda (_)
|
||||
;; Avoid confusion with function `org-priority'
|
||||
'org-priority))
|
||||
(org-link-set-parameters
|
||||
"doom-changelog"
|
||||
:follow (lambda (link)
|
||||
|
Reference in New Issue
Block a user