]> git.eshelyaron.com Git - emacs.git/commitdiff
; python.el: Fix previous commit for Emacs<24.3 compatibility
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sat, 22 Aug 2015 02:42:01 +0000 (23:42 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sat, 22 Aug 2015 02:42:01 +0000 (23:42 -0300)
lisp/progmodes/python.el

index 7d7122acccb6dd526739b5b3c20d4d9e036cf90f..d442dae9f3bce8581f1cef5a486a28947ce018bb 100644 (file)
@@ -2105,6 +2105,10 @@ appends `python-shell-remote-exec-path' instead of `exec-path'."
                        ;; Emacs<24.4 compat.
                        (list (tramp-get-remote-locale vec)))
                     (copy-sequence env)))
+        (tramp-end-of-heredoc
+         (if (boundp 'tramp-end-of-heredoc)
+             tramp-end-of-heredoc
+           (md5 tramp-end-of-output)))
        unset vars item)
     (while env
       (setq item (tramp-compat-split-string (car env) "="))