Function: dired-dnd-do-ask-action

dired-dnd-do-ask-action is a byte-compiled function defined in dired.el.gz.

Signature

(dired-dnd-do-ask-action URI)

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired-dnd-do-ask-action (uri)
  ;; No need to get actions and descriptions from the source,
  ;; we only have three actions anyway.
  (let ((action (x-popup-menu
		 t
		 (list "What action?"
		       (cons ""
			     '(("Copy here" . copy)
			       ("Move here" . move)
			       ("Link here" . link)
			       "--"
			       ("Cancel" . nil)))))))
    (if action
	(dired-dnd-handle-local-file uri action)
      nil)))