You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using doom emacs with org-download enabled. Everything is fine, except when you drag and drop a non-image file, it inserts the link into the org document but also opens the file in a new buffer.
I'm new to lisp, and after some digging, I found the org-download-dnd-fallback function, which sends the event back to the dnd-protocol-alist after removing itself in a closure or something.
So, I tried to find a way to stop that from happening, and I made a modified dnd handler. But I think it might make it more consistent if you could stop that from happening within the boundaries of org-download as the link gets inserted anyway.
Hello,
I'm using doom emacs with org-download enabled. Everything is fine, except when you drag and drop a non-image file, it inserts the link into the org document but also opens the file in a new buffer.
I'm new to lisp, and after some digging, I found the
org-download-dnd-fallback
function, which sends the event back to thednd-protocol-alist
after removing itself in a closure or something.So, I tried to find a way to stop that from happening, and I made a modified
dnd
handler. But I think it might make it more consistent if you could stop that from happening within the boundaries oforg-download
as the link gets inserted anyway.What do you think? Perhaps, I
handled
this from the wrong angle.The text was updated successfully, but these errors were encountered: