Fix wrong-type-arg +org-dragndrop-download-dnd error
Whoops! I was treating appendq! like pushnew!
This commit is contained in:
parent
e9e6786dd3
commit
1e318f7148
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue