Use org-download-dnd instead of inhouse dnd handler

Possibly fixes #3056
This commit is contained in:
Henrik Lissner 2020-05-07 15:59:26 -04:00
parent 0f696ec8b3
commit 47571446b9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 1 additions and 13 deletions

View file

@ -10,7 +10,7 @@
:init
;; HACK We add these manually so that org-download is truly lazy-loaded
(pushnew! dnd-protocol-alist
'("^\\(?:https?\\|ftp\\|file\\|nfs\\):" . +org-dragndrop-download-dnd-fn)
'("^\\(?:https?\\|ftp\\|file\\|nfs\\):" . org-download-dnd)
'("^data:" . org-download-dnd-base64))
(advice-add #'org-download-enable :override #'ignore)