about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/wpc/wpc-misc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el
index bdb504760ea7..46c8db8254b9 100644
--- a/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/emacs/.emacs.d/wpc/wpc-misc.el
@@ -221,7 +221,7 @@
   ;; ancestor .gitignore files.
   (if (f-equal? constants-briefcase dir)
       (cons 'vc dir)
-    (when (f-parent-of? constants-briefcase dir)
+    (when (f-ancestor-of? constants-briefcase dir)
       (if (f-exists? (f-join dir "default.nix"))
           (cons 'transient dir)
         (wpc-misc--briefcase-find (f-parent dir))))))