all repos — archive/dotfiles @ 10f31b8f1a5d3e04ce1d6e3f4bb6f7add53fe8bb

Superseded by nixfiles

Emacs: Guard against startup errors from frame-title setting
Alan Pearce alan@alanpearce.eu
Mon, 31 Jul 2017 20:21:19 +0200
commit

10f31b8f1a5d3e04ce1d6e3f4bb6f7add53fe8bb

parent

5a39500b2d95e5e9b9f780b436e88be20cc2a30e

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

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -305,7 +305,7 @@ 
 (require 'f)
 (setq frame-title-format (list "Emacs"
-                               (if nix-emacs
+                               (if (and nix-emacs invocation-directory)
                                    (list " (Nix Generation "
                                          (cadr
                                           (split-string (f-base