branch: elpa/helm commit e6e7b6d78f8af4c92f511b051093683c51cdf7ac Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Prevent marking when moving mouse --- helm-files.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm-files.el b/helm-files.el index cd0982325e..66e479a86f 100644 --- a/helm-files.el +++ b/helm-files.el @@ -5610,6 +5610,8 @@ When no suitable place to drop is found ask to drop to (interactive "e") (cl-assert (memq helm-ff-drag-mouse-1-default-action '(copy rsync rename))) + ;; Prevent marking when moving mouse. + (when mark-active (deactivate-mark)) (let* ((win-or-frame (posn-window (event-end event))) (target-frame (when (framep win-or-frame) (car (mouse-pixel-position))))