赵一宇 <zhy...@163.com> writes:

> Yes you're right.
> The problem exists in indirect buffer, not narrowed buffer, in which 
> base-directory is nil in this case. That's why I wonder if 
>            (base-directory (and buffer-file-name
>                                 (file-name-directory base-file-name)))
> should be
>            (base-directory (and base-file-name
>                                 (file-name-directory base-file-name)))
> where base-file-name is non-nil.

Makes sense.
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c730caf51

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to