all repos — nixfiles @ 3764370f77fa32c2c9c793331ef35ac9d913b4d7

System and user configuration, managed by nix and home-manager

Emacs: Fix frame-title-format error when loading
Alan Pearce alan@alanpearce.co.uk
Sat, 23 Aug 2014 13:02:45 +0100
commit

3764370f77fa32c2c9c793331ef35ac9d913b4d7

parent

428f237fd9aa27e271fededeb52a5a7891f257c3

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

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1318,7 +1318,8 @@ ;;;; Windows & Frames 
 (setq frame-title-format
       '((:eval (capitalize invocation-name)) ": "
-        (:eval (if (projectile-project-p)
+        (:eval (if (and (fboundp #'project-project-p)
+                        (projectile-project-p))
                    (projectile-project-name)
                  (if (buffer-file-name)
                      (abbreviate-file-name (buffer-file-name))