Variable: org-attach-store-link-p
org-attach-store-link-p is a customizable variable defined in
org-attach.el.gz.
Value
nil
Documentation
Non-nil means store a link to a file when attaching it.
When t, store the link to original file location.
When file, store link to the attached file location.
When attached, store attach: link to the attached file.
This variable was added, or its default value changed, in Emacs 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-attach.el.gz
(defcustom org-attach-store-link-p nil
"Non-nil means store a link to a file when attaching it.
When t, store the link to original file location.
When `file', store link to the attached file location.
When `attached', store attach: link to the attached file."
:group 'org-attach
:version "24.1"
:type '(choice
(const :tag "Don't store link" nil)
(const :tag "Link to origin location" t)
(const :tag "Attachment link to the attach-dir location" attached)
(const :tag "File link to the attach-dir location" file)))