mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; python.el: Fix previous commit for Emacs<24.3 compatibility
This commit is contained in:
parent
e2a5e3f87a
commit
cf42b9fe8d
1 changed files with 3 additions and 1 deletions
|
|
@ -2101,7 +2101,9 @@ appends `python-shell-remote-exec-path' instead of `exec-path'."
|
|||
(defun python-shell-tramp-refresh-process-environment (vec env)
|
||||
"Update VEC's process environment with ENV."
|
||||
;; Stolen from `tramp-open-connection-setup-interactive-shell'.
|
||||
(let ((env (append `(,(tramp-get-remote-locale vec))
|
||||
(let ((env (append (when (fboundp #'tramp-get-remote-locale)
|
||||
;; Emacs<24.4 compat.
|
||||
(list (tramp-get-remote-locale vec)))
|
||||
(copy-sequence env)))
|
||||
unset vars item)
|
||||
(while env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue