Variable: org-attach-use-inheritance
org-attach-use-inheritance is a customizable variable defined in
org-attach.el.gz.
Value
selective
Documentation
Attachment inheritance for the outline.
Enabling inheritance for org-attach implies two things. First,
that attachment links will look through all parent headings until
it finds the linked attachment. Second, that running org-attach
inside a node without attachments will make org-attach operate on
the first parent heading it finds with an attachment.
Selective means to respect the inheritance setting in
org-use-property-inheritance.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-attach.el.gz
(defcustom org-attach-use-inheritance 'selective
"Attachment inheritance for the outline.
Enabling inheritance for `org-attach' implies two things. First,
that attachment links will look through all parent headings until
it finds the linked attachment. Second, that running `org-attach'
inside a node without attachments will make `org-attach' operate on
the first parent heading it finds with an attachment.
Selective means to respect the inheritance setting in
`org-use-property-inheritance'."
:group 'org-attach
:type '(choice
(const :tag "Don't use inheritance" nil)
(const :tag "Inherit parent node attachments" t)
(const :tag "Respect org-use-property-inheritance" selective)))