projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a5e3f
)
; python.el: Fix previous commit for Emacs<24.3 compatibility
author
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Sat, 22 Aug 2015 02:26:44 +0000
(23:26 -0300)
committer
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Sat, 22 Aug 2015 02:26:44 +0000
(23:26 -0300)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 9c4a0f1bbfb77b1cee4998ab4ac9bc7bb2cb942b..7d7122acccb6dd526739b5b3c20d4d9e036cf90f 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-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