Function: tramp-list-remote-buffers

tramp-list-remote-buffers is an autoloaded and byte-compiled function defined in tramp-cmds.el.gz.

Signature

(tramp-list-remote-buffers)

Documentation

Return a list of all buffers with remote default-directory.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-cmds.el.gz
;;;###tramp-autoload
(defun tramp-list-remote-buffers ()
  "Return a list of all buffers with remote `default-directory'."
  (delq
   nil
   (mapcar
    (lambda (x)
      (when (tramp-tramp-file-p (tramp-get-default-directory x)) x))
    (buffer-list))))