mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
lang/org: set org-link-abbrev-alist non-destructively
So prior values aren't overwritten (and shadow these defaults), and also because, due to the hook order, the attach: link was overwritten by this setq.
This commit is contained in:
@ -356,7 +356,7 @@ file isn't in `org-directory'."
|
|||||||
'error)))
|
'error)))
|
||||||
|
|
||||||
;; Add custom link types
|
;; Add custom link types
|
||||||
(setq org-link-abbrev-alist
|
(nconcq! org-link-abbrev-alist
|
||||||
'(("github" . "https://github.com/%s")
|
'(("github" . "https://github.com/%s")
|
||||||
("youtube" . "https://youtube.com/watch?v=%s")
|
("youtube" . "https://youtube.com/watch?v=%s")
|
||||||
("google" . "https://google.com/search?q=")
|
("google" . "https://google.com/search?q=")
|
||||||
|
Reference in New Issue
Block a user