emacs-orgmode
[Top][All Lists]
Advanced

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

[O] ELisp expression in a var not executed anymore on tangle


From: Sebastien Vauban
Subject: [O] ELisp expression in a var not executed anymore on tangle
Date: Fri, 03 Jul 2015 14:13:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

Hello,

I noticed that the following code block:

--8<---------------cut here---------------start------------->8---
#+begin_src shell :tangle yes :var workingDir=(file-name-directory (or 
load-file-name (buffer-file-name))) :shebang #!/bin/sh
cmd="$EMACS -q -l ${workingDir}init.el"
#+end_src
--8<---------------cut here---------------end--------------->8---

does now return this:

--8<---------------cut here---------------start------------->8---
#!/bin/sh
cmd="$EMACS -q -l ${workingDir}init.el"
--8<---------------cut here---------------end--------------->8---

instead of:

--8<---------------cut here---------------start------------->8---
#!/bin/sh
workingDir='d:/Users/sva/ecm/'
cmd="$EMACS -q -l ${workingDir}init.el"
--8<---------------cut here---------------end--------------->8---

IIRC, you can also see that it's not working by pressing `C-c C-v C-v'
(preview).

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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