diff options
| author | 2025-04-10 16:31:58 -0700 | |
|---|---|---|
| committer | 2025-04-10 16:31:58 -0700 | |
| commit | b8db075f8a865ab6e72596744166b7ef4e2e20e0 (patch) | |
| tree | b7578e22c05914645876909836ba828a4bb25384 | |
| parent | 4e6a70de56f108cd783fe0ef40db238b95348cab (diff) | |
| download | new-dotfiles-b8db075f8a865ab6e72596744166b7ef4e2e20e0.tar.gz new-dotfiles-b8db075f8a865ab6e72596744166b7ef4e2e20e0.zip | |
pop-os/emacs: Ignore extra directories searching for tests
These directories are large and don't contain any interesting files.
| -rw-r--r-- | oni/home/config/pop-os/emacs.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/oni/home/config/pop-os/emacs.el b/oni/home/config/pop-os/emacs.el index b29a3c8..bb87586 100644 --- a/oni/home/config/pop-os/emacs.el +++ b/oni/home/config/pop-os/emacs.el @@ -116,7 +116,10 @@ buffers.") (buffer (get-buffer-create buffer-name)) (files (cons '("all" . "") (mapcar (lambda (dir) (cons (file-name-nondirectory dir) dir)) - (directory-files-recursively "../" (rx "Test.php") nil (lambda (subdir) (not (or (string-suffix-p "vendor" subdir) (string-suffix-p ignore subdir)))))))) + (directory-files-recursively "../" (rx "Test.php") nil (lambda (subdir) (not (or (string-suffix-p "vendor" subdir) + (string-suffix-p "data" subdir) + (string-suffix-p "cdk.out" subdir) + (string-suffix-p ignore subdir)))))))) (file (or (and (not pick) (with-current-buffer buffer artisan--test-last-file)) |
