summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2014-07-13 09:23:17 +0100
committerAlan Pearce2014-07-13 09:23:17 +0100
commitf423c486e4dedad33b10404d121ee08d541a3781 (patch)
treed5793bfa0a3436a2c372bb3d3a2536466db68952 /tag-emacs/emacs.d
parentbbb27a24cb4eae2a9fcc414f37312811bc49f441 (diff)
downloaddotfiles-f423c486e4dedad33b10404d121ee08d541a3781.tar.lz
dotfiles-f423c486e4dedad33b10404d121ee08d541a3781.tar.zst
dotfiles-f423c486e4dedad33b10404d121ee08d541a3781.zip
Emacs: Show project, not buffer in frame title
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.el11
1 files changed, 4 insertions, 7 deletions
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