diff options
author | Thierry Volpiatto <thievol@posteo.net> | 2021-07-14 18:00:27 +0200 |
---|---|---|
committer | Thierry Volpiatto <thievol@posteo.net> | 2021-07-14 18:00:27 +0200 |
commit | 60db46905443c87f324440202bd0735d57c5c201 (patch) | |
tree | e99bfc39c9b1ce97e1a330bb4cd512edb8a7f676 /helm.el | |
parent | 23cb9fbf7450e2c8452af3ed495416b0ab8fa79a (diff) |
Provide basic support for dragging files from HFF
Diffstat (limited to 'helm.el')
-rw-r--r-- | helm.el | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4944,6 +4944,7 @@ your candidates from `helm-async-outer-limit-hook'." "Remove SOURCE from `helm-candidate-cache'." (remhash (assoc-default 'name source) helm-candidate-cache)) +(defvar helm-drag-mouse-1-fn 'ignore) (defun helm-insert-match (match insert-function &optional num source) "Insert MATCH into `helm-buffer' with INSERT-FUNCTION. If MATCH is a cons cell then insert the car as display with the @@ -5003,6 +5004,7 @@ specified as respectively `helm-cand-num' and `helm-cur-source'." (let ((inhibit-read-only t) (map (get-text-property pos 'keymap))) (when map + (define-key map [drag-mouse-1] helm-drag-mouse-1-fn) (define-key map [mouse-2] 'helm-maybe-exit-minibuffer) (put-text-property helm-selection-point |