summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 2ed049b5..3f8d75ec 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))