Fix drag'n'drop in non-org-mode buffers
This commit is contained in:
parent
e59265bed7
commit
ca18034e32
1 changed files with 1 additions and 1 deletions
|
@ -7,6 +7,6 @@
|
|||
(if (eq major-mode 'org-mode)
|
||||
(+org/attach-file-and-insert-link uri)
|
||||
(let ((dnd-protocol-alist
|
||||
(rassq-delete-all '+org-attach-download-dnd
|
||||
(rassq-delete-all '+org-dragndrop-download-dnd-fn
|
||||
(copy-alist dnd-protocol-alist))))
|
||||
(dnd-handle-one-url nil action uri))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue