Fix error: Need absolute ‘org-attach-id-dir’ to attach in buffers without filenamemain
commit7c9387862b3035f4c722706fbe94a59e18d06a96
authorstardiviner <numbchild@gmail.com>
Mon, 13 Jan 2025 06:47:16 +0000 (13 14:47 +0800)
committerstardiviner <numbchild@gmail.com>
Mon, 13 Jan 2025 06:47:16 +0000 (13 14:47 +0800)
tree859e639c8f6bd0e9bb4b26a181c2f2a90ea5b9a0
parenta353f97c1ebe65ebd35287dfe3008b5414f7e8ee
Fix error: Need absolute ‘org-attach-id-dir’ to attach in buffers without filename

Invoking (org-mode) on temp buffer will auto invoke the
`org-link-preview` function which expand the `[[attachment:...]]` link
then expand link filename will chain call `org-attach-id-dir` which
caused error on the temp buffer which is not real file path.
org-bookmarks.el