python.el: Silence left over warning in last commit
* lisp/progmodes/python.el (python-shell-calculate-process-environment): Declare tramp-remote-process-environment before using it.
This commit is contained in:
parent
d340dc0a25
commit
b4f1ceaf24
1 changed files with 1 additions and 0 deletions
|
@ -2208,6 +2208,7 @@ virtualenv."
|
|||
|
||||
(defun python-shell-calculate-process-environment ()
|
||||
(declare (obsolete python-shell--calculate-process-environment "29.1"))
|
||||
(defvar tramp-remote-process-environment)
|
||||
(let* ((remote-p (file-remote-p default-directory)))
|
||||
(append (python-shell--calculate-process-environment)
|
||||
(if remote-p
|
||||
|
|
Loading…
Add table
Reference in a new issue