From 4478189a54426c3956f7b2a5243c2bc9828edaf9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 15 Jul 2017 15:07:59 +0200 Subject: Emacs: Use common var to detect nixified emacs --- emacs/.emacs.d/init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') 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 -- cgit 1.4.1