emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] Fix behaviour of ":dir" when ":mkdirp" is not defined


From: Joaquín Aguirrezabalaga
Subject: [O] [PATCH] Fix behaviour of ":dir" when ":mkdirp" is not defined
Date: Wed, 24 Apr 2019 12:43:58 +0200
User-agent: mu4e 1.0; emacs 26.1

Hello,

I think the behaviour of ":dir" is broken since commit 8b5941330
(ob-core: Make :mkdirp work for :dir too). It only works now if
":mkdirp" is defined.

If I execute the following:

  #+begin_src elisp :dir /tmp/some-test-dir
  default-directory
  #+end_src

Instead of the expected "/tmp/some-test-dir" returned value, I get my
current directory.

Only add ":mkdirp t":

  #+begin_src elisp :dir /tmp/some-test-dir :mkdirp t
  default-directory
  #+end_src

do I get the expected result.

Please find attached my proposal for fixing the issue.

Regards,

Joaquín Aguirrezabalaga

Attachment: 0001-ob-core-Fix-dir-when-mkdirp-is-not-defined.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]