org-attach.el (org-attach-dir): Fix bug
commit241286865cb30dd36afc343209a9b5c418863939
authorBastien Guerry <bzg@altern.org>
Wed, 21 May 2014 17:47:13 +0000 (21 19:47 +0200)
committerBastien Guerry <bzg@altern.org>
Wed, 21 May 2014 17:47:13 +0000 (21 19:47 +0200)
tree848299506a8c58e2b7b69283f9a23c148a9f565c
parent844a6494c37b474b738cdd857b3f6b9bdabc038e
org-attach.el (org-attach-dir): Fix bug

* org-attach.el (org-attach-dir): When the property is
"inherited" from a variable outside of the file, do not use
`org-entry-property-inherited-from' to find the attachment
position, assume we need to go back to the current headline.
lisp/org-attach.el