diff --git a/dumb-jump.el b/dumb-jump.el index 9936fbc..c41225c 100644 --- a/dumb-jump.el +++ b/dumb-jump.el @@ -2052,6 +2052,9 @@ for user to select. Filters PROJ path from files for display." (expand-file-name (or dumb-jump-project + (when-let (((fboundp 'project-current)) + (proj (project-current t (file-name-directory filepath)))) + (project-root proj)) (locate-dominating-file filepath #'dumb-jump-get-config) dumb-jump-default-project))))