Variable: org-yank-dnd-method

org-yank-dnd-method is a customizable variable defined in org.el.gz.

Value

ask

Documentation

Action to perform on the dropped and the pasted files.

When the value is the symbol,
  . attach -- attach dropped/pasted file
  . open -- visit/open dropped/pasted file in Emacs
  . file-link -- insert file: link to dropped/pasted file
  . ask -- ask what to do out of the above.

This variable was added, or its default value changed, in Org version
9.7.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-yank-dnd-method 'ask
  "Action to perform on the dropped and the pasted files.
When the value is the symbol,
  . `attach' -- attach dropped/pasted file
  . `open' -- visit/open dropped/pasted file in Emacs
  . `file-link' -- insert file: link to dropped/pasted file
  . `ask' -- ask what to do out of the above."
  :group 'org
  :package-version '(Org . "9.7")
  :type '(choice (const :tag "Attach" attach)
                 (const :tag "Open/Visit file" open)
                 (const :tag "Insert file: link" file-link)
                 (const :tag "Ask what to do" ask)))