branch: elpa/buttercup commit f3d670939269e615f3170863bf389f865c07eecf Author: Matus Goljer <dota.k...@gmail.com> Commit: Matus Goljer <dota.k...@gmail.com>
Use relative path when testing for dotfiles in current project --- buttercup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buttercup.el b/buttercup.el index 3b830e0..dcbb86e 100644 --- a/buttercup.el +++ b/buttercup.el @@ -621,7 +621,7 @@ current directory." (dolist (dir (or command-line-args-left '("."))) (dolist (file (directory-files-recursively dir "\\`test-\\|-test.el\\'")) - (when (not (string-match "/\\." file)) + (when (not (string-match "/\\." (file-relative-name file))) (load file nil t)))) (buttercup-run))