summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-07-31 20:21:19 +0200
committerAlan Pearce2017-07-31 20:21:19 +0200
commit10f31b8f1a5d3e04ce1d6e3f4bb6f7add53fe8bb (patch)
treec17b2df03b4859e4a4f9f380412919b0893e494f /emacs
parent5a39500b2d95e5e9b9f780b436e88be20cc2a30e (diff)
downloadnixfiles-10f31b8f1a5d3e04ce1d6e3f4bb6f7add53fe8bb.tar.lz
nixfiles-10f31b8f1a5d3e04ce1d6e3f4bb6f7add53fe8bb.tar.zst
nixfiles-10f31b8f1a5d3e04ce1d6e3f4bb6f7add53fe8bb.zip
Emacs: Guard against startup errors from frame-title setting
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 75ed92bf..d15dcd65 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -305,7 +305,7 @@ correct, at least for Liberation Mono.
 
 (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