diff options
| author | Bozhidar Batsov <bozhidar@batsov.com> | 2020-12-03 11:28:23 +0200 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.com> | 2020-12-03 11:28:23 +0200 |
| commit | 183c86f02ec712f265590ebddb902967e9b7dc8a (patch) | |
| tree | 715eab557afab9e7e0081436a70d95c9bf6cc59b | |
| parent | 9bf150e8a35855731491540f9fcb67f49afcdd78 (diff) | |
Add a comment
| -rw-r--r-- | projectile.el | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |
