Function: dired-in-this-tree-p

dired-in-this-tree-p is a byte-compiled function defined in dired.el.gz.

Signature

(dired-in-this-tree-p FILE DIR)

Aliases

dired-in-this-tree (obsolete since 27.1)

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
;;; Utility functions

(defun dired-in-this-tree-p (file dir)
  ;;"Is FILE part of the directory tree starting at DIR?"
  (let (case-fold-search)
    (string-match-p (concat "^" (regexp-quote dir)) file)))