summary refs log tree commit diff stats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorAlan Pearce2017-07-15 15:07:59 +0200
committerAlan Pearce2017-07-15 15:07:59 +0200
commit4478189a54426c3956f7b2a5243c2bc9828edaf9 (patch)
treef423120021bcac4a09edac4b3f25862b25c793d6 /emacs/.emacs.d/init.org
parent9aac52ad89c7fa8e6cb0ad00a7bb2c81291099d2 (diff)
downloadnixfiles-4478189a54426c3956f7b2a5243c2bc9828edaf9.tar.lz
nixfiles-4478189a54426c3956f7b2a5243c2bc9828edaf9.tar.zst
nixfiles-4478189a54426c3956f7b2a5243c2bc9828edaf9.zip
Emacs: Use common var to detect nixified emacs
Diffstat (limited to 'emacs/.emacs.d/init.org')
-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