Function: eshell-pred-file-mode

eshell-pred-file-mode is a byte-compiled function defined in em-pred.el.gz.

Signature

(eshell-pred-file-mode MODE)

Documentation

Return a test which tests that MODE pertains to the file.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-pred.el.gz
(defsubst eshell-pred-file-mode (mode)
  "Return a test which tests that MODE pertains to the file."
  (lambda (file)
    (when-let ((modes (file-modes file 'nofollow)))
      (not (zerop (logand mode modes))))))