diff --git a/elisp/um.el b/elisp/um.el index 320e3d6..ae994d8 100644 --- a/elisp/um.el +++ b/elisp/um.el @@ -95,7 +95,7 @@ " (let ((dirs (list default-directory - (project-root (project-current)) + (when (project-current) (project-root (project-current))) (um-root-path))) dir file)