Fix wrong-type-arg +org-dragndrop-download-dnd error

Whoops! I was treating appendq! like pushnew!
This commit is contained in:
Henrik Lissner 2019-07-22 04:27:01 +02:00
parent e9e6786dd3
commit 1e318f7148
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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