diff --git a/modules/lang/org/contrib/dragndrop.el b/modules/lang/org/contrib/dragndrop.el index 4b226b032..dd21d9b10 100644 --- a/modules/lang/org/contrib/dragndrop.el +++ b/modules/lang/org/contrib/dragndrop.el @@ -5,11 +5,9 @@ :commands (org-download-dnd org-download-dnd-base64) :init ;; HACK We add these manually so that org-download is truly lazy-loaded - (appendq! - dnd-protocol-alist - '("^\\(?:https?\\|ftp\\|file\\|nfs\\):" - . +org-dragndrop-download-dnd) - '("^data:" . org-download-dnd-base64)) + (nconcq! dnd-protocol-alist + '(("^\\(?:https?\\|ftp\\|file\\|nfs\\):" . +org-dragndrop-download-dnd) + ("^data:" . org-download-dnd-base64))) (advice-add #'org-download-enable :override #'ignore) :config (setq org-download-image-dir org-attach-directory