From 3764370f77fa32c2c9c793331ef35ac9d913b4d7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 23 Aug 2014 13:02:45 +0100 Subject: Emacs: Fix frame-title-format error when loading --- tag-emacs/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-emacs/emacs.d') 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)) -- cgit 1.4.1