summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 8d7ef0e1..ebdeba3f 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -296,7 +296,7 @@ correct, at least for Liberation Mono.
 
 (require 'f)
 (setq frame-title-format (list "Emacs"
-                               (if (f-ancestor-of? "/nix/store" invocation-directory)
+                               (if nix-emacs
                                    (list " (Nix Generation "
                                          (cadr
                                           (split-string (f-base