Function: tramp-directory-watched
tramp-directory-watched is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-directory-watched DIRECTORY)
Documentation
Check, whether a directory is watched.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-directory-watched (directory)
"Check, whether a directory is watched."
(let (result)
(dolist (p (process-list) result)
(setq result
(or result
(and-let* ((dir (process-get p 'tramp-watch-name))
((string-equal
dir (tramp-file-local-name directory))))))))))