ile `org-src.el'
;; ---
(defun patch/org-src--edit-element (&rest args)
(setq-local buffer-file-name nil))
(advice-add 'org-src--edit-element
:after
#'patch/org-src--edit-element)
;; ---
Thank you,
Akash P
Suppose we have the following document
```
#+title: test-file
* This is h1
** This is h1.2
We introduce some text here
Then we narrow to this heading and introduce a footnote
* Another heading here so that footnote capture works
#+begin_src
(org-element-property :buffer (org-element-at-point
I came across this flow of execution while trying to export a ghost
org-file to pdf, meaning that the file is 'created' through #'find-file but
not saved. While export the following backtrace is noted:
```
Debugger entered--entering a function:
* org-check-agenda-file("