Function: python-shell-tramp-refresh-remote-path

python-shell-tramp-refresh-remote-path is a byte-compiled function defined in python.el.gz.

Signature

(python-shell-tramp-refresh-remote-path VEC PATHS)

Documentation

Update VEC's remote-path giving PATHS priority.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-shell-tramp-refresh-remote-path (vec paths)
  "Update VEC's remote-path giving PATHS priority."
  (let ((remote-path (tramp-get-connection-property vec "remote-path" nil)))
    (when remote-path
      (python-shell--add-to-path-with-priority remote-path paths)
      (tramp-set-connection-property vec "remote-path" remote-path)
      (tramp-set-remote-path vec))))