Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cf42b9fe
Commit
cf42b9fe
authored
Aug 21, 2015
by
Fabián Ezequiel Gallina
Browse files
; python.el: Fix previous commit for Emacs<24.3 compatibility
parent
e2a5e3f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/progmodes/python.el
lisp/progmodes/python.el
+3
-1
No files found.
lisp/progmodes/python.el
View file @
cf42b9fe
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment