summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-07-06 19:10:28 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-07-06 19:10:28 +0200
commit61ffe97885c5e01c77cdf0023bb0e1a2d320261c (patch)
treedc05fb1d32b452cd8b6459b2c9fd38bd3d446f34
parenta3d02c49a052d0dfa2c5fc8e6a3641b5bc06f7d0 (diff)
downloadorg-mode-61ffe97885c5e01c77cdf0023bb0e1a2d320261c.tar.gz
ob-comint: Remove unnecessary (require 'tramp)
* lisp/ob-comint.el (org-babel-comint-eval-invisibly-and-wait-for-file): Remove unnecessary cache flush.
-rw-r--r--lisp/ob-comint.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/ob-comint.el b/lisp/ob-comint.el
index cc60f4e..7b21808 100644
--- a/lisp/ob-comint.el
+++ b/lisp/ob-comint.el
@@ -33,7 +33,6 @@
(require 'ob-core)
(require 'org-compat)
(require 'comint)
-(require 'tramp)
(defun org-babel-comint-buffer-livep (buffer)
"Check if BUFFER is a comint buffer with a live process."
@@ -148,10 +147,6 @@ FILE exists at end of evaluation."
(process-send-string
(get-buffer-process buffer)
(if (= (aref string (1- (length string))) ?\n) string (concat string "\n")))
- ;; From Tramp 2.1.19 the following cache flush is not necessary
- (when (file-remote-p default-directory)
- (with-parsed-tramp-file-name default-directory nil
- (tramp-flush-directory-property v "")))
(while (not (file-exists-p file)) (sit-for (or period 0.25))))
(provide 'ob-comint)