emacs-orgmode
[Top][All Lists]
Advanced

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

[PATCH} Do not throw error when parameter of :tangle is not a string


From: Jacopo De Simoi
Subject: [PATCH} Do not throw error when parameter of :tangle is not a string
Date: Thu, 01 Jul 2021 04:01:01 +0000

Dear All,

 in the current master branch, if the parameter :tangle of a src block is not
a string, tangling fails by throwing  an error when calling `file-name-
directory'  This patch checks if the parameter is a string before calling
`file-name-directory'.

This makes construct such as :tangle (when condition-applies "filename") work
again (as they did a few versions ago…)

Thanks for your time
Best
 Jacopo

Attachment: 0001-ob-tangle.el-Handle-non-string-arguments-more-gracef.patch
Description: Text Data

Attachment: attachment.asc
Description: PGP signature


reply via email to

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