diff options
| author | Stefan Monnier | 2022-02-04 13:39:19 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2022-02-04 13:39:19 -0500 |
| commit | b4f1ceaf241239b8fc7ad1e91af62f4e425bda8a (patch) | |
| tree | 45549eb8a57525a1c7f3aabbd89b325270f89d9e /lisp/progmodes/python.el | |
| parent | d340dc0a256db979c617bd5ee06dafa5a52791f5 (diff) | |
| download | emacs-b4f1ceaf241239b8fc7ad1e91af62f4e425bda8a.tar.gz emacs-b4f1ceaf241239b8fc7ad1e91af62f4e425bda8a.zip | |
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.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index ba8e3e811d4..d83290fe457 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2208,6 +2208,7 @@ virtualenv." | |||
| 2208 | 2208 | ||
| 2209 | (defun python-shell-calculate-process-environment () | 2209 | (defun python-shell-calculate-process-environment () |
| 2210 | (declare (obsolete python-shell--calculate-process-environment "29.1")) | 2210 | (declare (obsolete python-shell--calculate-process-environment "29.1")) |
| 2211 | (defvar tramp-remote-process-environment) | ||
| 2211 | (let* ((remote-p (file-remote-p default-directory))) | 2212 | (let* ((remote-p (file-remote-p default-directory))) |
| 2212 | (append (python-shell--calculate-process-environment) | 2213 | (append (python-shell--calculate-process-environment) |
| 2213 | (if remote-p | 2214 | (if remote-p |