Variable: org-yank-image-save-method
org-yank-image-save-method is a customizable variable defined in
org.el.gz.
Value
attach
Documentation
Method to save images yanked from clipboard and dropped to Emacs.
It can be the symbol attach to add it as an attachment, or a
directory name to copy/cut the image to that directory, or a
function that will be called without arguments and should return the
directory name, as a string.
This variable was added, or its default value changed, in Org version
9.8.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-yank-image-save-method 'attach
"Method to save images yanked from clipboard and dropped to Emacs.
It can be the symbol `attach' to add it as an attachment, or a
directory name to copy/cut the image to that directory, or a
function that will be called without arguments and should return the
directory name, as a string."
:group 'org
:package-version '(Org . "9.8")
:type '(choice (const :tag "Add it as attachment" attach)
(directory :tag "Save it in directory")
(function :tag "Save it in a directory returned from the function call"))
:safe (lambda (x) (eq x 'attach)))