From: Fabián Ezequiel Gallina Date: Sat, 22 Aug 2015 02:42:01 +0000 (-0300) Subject: ; python.el: Fix previous commit for Emacs<24.3 compatibility X-Git-Tag: emacs-25.0.90~1306 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66081ad6f4dba44b64c809cde5f4a904b0f381fb;p=emacs.git ; python.el: Fix previous commit for Emacs<24.3 compatibility --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 7d7122acccb..d442dae9f3b 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -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) "="))