From 183c86f02ec712f265590ebddb902967e9b7dc8a Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 3 Dec 2020 11:28:23 +0200 Subject: Add a comment --- projectile.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projectile.el b/projectile.el index b31d10e..11a537d 100644 --- a/projectile.el +++ b/projectile.el @@ -1121,6 +1121,8 @@ If DIR is not supplied its set to the current directory by default." (or (let ((is-local (not (file-remote-p dir))) ;; `true' if the file is local (is-connected (file-remote-p dir nil t))) ;; `true' if the file is remote AND we are connected to the remote (when (or is-local is-connected) + ;; Here is where all the magic happens. + ;; We run the functions in `projectile-project-root-functions' until we find a project dir. (cl-some (lambda (func) (let* ((cache-key (format "%s-%s" func dir)) -- cgit v1.0