all repos — archive/dotfiles @ 4478189a54426c3956f7b2a5243c2bc9828edaf9

Superseded by nixfiles

Emacs: Use common var to detect nixified emacs
Alan Pearce alan@alanpearce.eu
Sat, 15 Jul 2017 15:07:59 +0200
commit

4478189a54426c3956f7b2a5243c2bc9828edaf9

parent

9aac52ad89c7fa8e6cb0ad00a7bb2c81291099d2

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -296,7 +296,7 @@ 
 (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