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)
downloaddotfiles-10f31b8f1a5d3e04ce1d6e3f4bb6f7add53fe8bb.tar.lz
dotfiles-10f31b8f1a5d3e04ce1d6e3f4bb6f7add53fe8bb.tar.zst
dotfiles-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 75ed92b..d15dcd6 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