all repos — nixfiles @ 36c541555849f5c8d60824c929847e5ba6841a78

System and user configuration, managed by nix and home-manager

Emacs: Update frame-title-format

Alan Pearce
commit

36c541555849f5c8d60824c929847e5ba6841a78

parent

e3a948891e3a30081a045f83cf7beb151075c1b5

1 file changed, 6 insertions(+), 6 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1541,13 +1541,13 @@
;;;; Windows & Frames (setq frame-title-format - '((:eval (capitalize invocation-name)) ": " - (:eval (if (and (fboundp #'project-project-p) + '((:eval (if (and (fboundp #'projectile-project-p) (projectile-project-p)) - (projectile-project-name) - (if (buffer-file-name) - (abbreviate-file-name (buffer-file-name)) - "%b"))))) + (projectile-project-name))) + ": " + (:eval (if (buffer-file-name) + (buffer-name) + "%b")))) (setq scroll-conservatively 100 ; Keep the cursor position when scrolling scroll-margin 1