mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix wrong-type-arg +org-dragndrop-download-dnd error
Whoops! I was treating appendq! like pushnew!
This commit is contained in:
@ -5,11 +5,9 @@
|
|||||||
:commands (org-download-dnd org-download-dnd-base64)
|
:commands (org-download-dnd org-download-dnd-base64)
|
||||||
:init
|
:init
|
||||||
;; HACK We add these manually so that org-download is truly lazy-loaded
|
;; HACK We add these manually so that org-download is truly lazy-loaded
|
||||||
(appendq!
|
(nconcq! dnd-protocol-alist
|
||||||
dnd-protocol-alist
|
'(("^\\(?:https?\\|ftp\\|file\\|nfs\\):" . +org-dragndrop-download-dnd)
|
||||||
'("^\\(?:https?\\|ftp\\|file\\|nfs\\):"
|
("^data:" . org-download-dnd-base64)))
|
||||||
. +org-dragndrop-download-dnd)
|
|
||||||
'("^data:" . org-download-dnd-base64))
|
|
||||||
(advice-add #'org-download-enable :override #'ignore)
|
(advice-add #'org-download-enable :override #'ignore)
|
||||||
:config
|
:config
|
||||||
(setq org-download-image-dir org-attach-directory
|
(setq org-download-image-dir org-attach-directory
|
||||||
|
Reference in New Issue
Block a user