Function: tramp-recentf-exclude-predicate

tramp-recentf-exclude-predicate is a byte-compiled function defined in tramp-integration.el.gz.

Signature

(tramp-recentf-exclude-predicate NAME)

Documentation

Predicate to exclude a remote file name from recentf.

NAME must be equal to tramp-current-connection.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-integration.el.gz
;;; Integration of recentf.el:

(defun tramp-recentf-exclude-predicate (name)
  "Predicate to exclude a remote file name from recentf.
NAME must be equal to `tramp-current-connection'."
  (when (tramp-tramp-file-p name)
    (tramp-file-name-equal-p
     (tramp-dissect-file-name name) (car tramp-current-connection))))