From f423c486e4dedad33b10404d121ee08d541a3781 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 13 Jul 2014 09:23:17 +0100 Subject: Emacs: Show project, not buffer in frame title --- tag-emacs/emacs.d/init.el | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'tag-emacs/emacs.d') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 772ccf6..f8f82d2 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1124,13 +1124,10 @@ (setq frame-title-format '((:eval (capitalize invocation-name)) ": " (:eval (if (projectile-project-p) - (concat (projectile-project-name) " ") - )) - "(" - (:eval (if (buffer-file-name) - (abbreviate-file-name (buffer-file-name)) - "%b")) - ")")) + (projectile-project-name) + (if (buffer-file-name) + (abbreviate-file-name (buffer-file-name)) + "%b"))))) (setq scroll-conservatively 100 ; Keep the cursor position when scrolling scroll-margin 1 -- cgit 1.4.1