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:
parent
abd29569a6
commit
f6851d56ef
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue