lang/org: prevent circular refs in nconc'ed list
This commit is contained in:
parent
8931718e8a
commit
3b9838ed41
1 changed files with 9 additions and 9 deletions
|
@ -356,15 +356,15 @@ file isn't in `org-directory'."
|
|||
'error)))
|
||||
|
||||
;; Add custom link types
|
||||
(nconcq! org-link-abbrev-alist
|
||||
'(("github" . "https://github.com/%s")
|
||||
("youtube" . "https://youtube.com/watch?v=%s")
|
||||
("google" . "https://google.com/search?q=")
|
||||
("gimages" . "https://google.com/images?q=%s")
|
||||
("gmap" . "https://maps.google.com/maps?q=%s")
|
||||
("duckduckgo" . "https://duckduckgo.com/?q=%s")
|
||||
("wolfram" . "https://wolframalpha.com/input/?i=%s")
|
||||
("doom-repo" . "https://github.com/hlissner/doom-emacs/%s")))
|
||||
(pushnew! org-link-abbrev-alist
|
||||
'("github" . "https://github.com/%s")
|
||||
'("youtube" . "https://youtube.com/watch?v=%s")
|
||||
'("google" . "https://google.com/search?q=")
|
||||
'("gimages" . "https://google.com/images?q=%s")
|
||||
'("gmap" . "https://maps.google.com/maps?q=%s")
|
||||
'("duckduckgo" . "https://duckduckgo.com/?q=%s")
|
||||
'("wolfram" . "https://wolframalpha.com/input/?i=%s")
|
||||
'("doom-repo" . "https://github.com/hlissner/doom-emacs/%s"))
|
||||
|
||||
(+org-def-link "org" org-directory)
|
||||
(+org-def-link "doom" doom-emacs-dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue