default-directory was bound when we evaluated the src-block, but not
in the results callback.
One situation where this caused problems was when both :dir and :file
are set in the headers. We should resolve :file relative to :dir,
but we were actually resolving :file relative to the buffer-local
value of default-directory.
The new unit test covers this scenario (reported in [1])
default-directory
was bound when we evaluated the src-block, but not in the results callback.One situation where this caused problems was when both :dir and :file are set in the headers. We should resolve :file relative to :dir, but we were actually resolving :file relative to the buffer-local value of
default-directory
.The new unit test covers this scenario (reported in [1])
[1] https://github.com/astahlman/ob-async/issues/44