summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-08-23 13:02:45 +0100
committerAlan Pearce2014-08-23 13:02:45 +0100
commit3764370f77fa32c2c9c793331ef35ac9d913b4d7 (patch)
tree61e2e7e7c0a662888b12b6c5286960c56bbc0c02 /tag-emacs
parent428f237fd9aa27e271fededeb52a5a7891f257c3 (diff)
downloaddotfiles-3764370f77fa32c2c9c793331ef35ac9d913b4d7.tar.lz
dotfiles-3764370f77fa32c2c9c793331ef35ac9d913b4d7.tar.zst
dotfiles-3764370f77fa32c2c9c793331ef35ac9d913b4d7.zip
Emacs: Fix frame-title-format error when loading
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 2ed049b..3f8d75e 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1318,7 +1318,8 @@ mouse-1: Display Line and Column Mode Menu"))))))
 
 (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))