diff options
author | Alan Pearce | 2014-07-13 09:23:17 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-13 09:23:17 +0100 |
commit | f423c486e4dedad33b10404d121ee08d541a3781 (patch) | |
tree | d5793bfa0a3436a2c372bb3d3a2536466db68952 | |
parent | bbb27a24cb4eae2a9fcc414f37312811bc49f441 (diff) | |
download | nixfiles-f423c486e4dedad33b10404d121ee08d541a3781.tar.lz nixfiles-f423c486e4dedad33b10404d121ee08d541a3781.tar.zst nixfiles-f423c486e4dedad33b10404d121ee08d541a3781.zip |
Emacs: Show project, not buffer in frame title
-rw-r--r-- | tag-emacs/emacs.d/init.el | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 772ccf61..f8f82d2c 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 |