ob-comint.el: Reinstate let-bound variable from last commit.

* ob-comint.el (org-babel-comint-eval-invisibly-and-wait-for-file):
  Reinstate `let (v)' which `org-babel-evaluate-session' relies on.
This commit is contained in:
Charles Berry 2016-04-23 16:26:13 -07:00
parent e42454088f
commit e1d6a43c8e
1 changed files with 4 additions and 2 deletions

View File

@ -151,8 +151,10 @@ FILE exists at end of evaluation."
(if (= (aref string (1- (length string))) ?\n) string (concat string "\n")))
;; From Tramp 2.1.19 the following cache flush is not necessary
(if (file-remote-p default-directory)
(let (v)
(ignore v)
(with-parsed-tramp-file-name default-directory nil
(tramp-flush-directory-property v "")))
(tramp-flush-directory-property v ""))))
(while (not (file-exists-p file)) (sit-for (or period 0.25))))
(provide 'ob-comint)