From fbf925cc328517c29af86f7ebd799c3f3d87c2a0 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Tue, 13 Mar 2012 17:16:01 +0200 Subject: [PATCH] more informative frame-title-format --- modules/prelude-ui.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/prelude-ui.el b/modules/prelude-ui.el index 9e6800a..22e8cac 100644 --- a/modules/prelude-ui.el +++ b/modules/prelude-ui.el @@ -78,6 +78,13 @@ ;; enable y/n answers (fset 'yes-or-no-p 'y-or-n-p) +;; more useful frame title, that show either a file or a +;; buffer name (if the buffer isn't visiting a file) +(setq frame-title-format + '("" invocation-name " Prelude - " (:eval (if (buffer-file-name) + (abbreviate-file-name (buffer-file-name)) + "%b")))) + ;; custom Emacs 24 color themes support (add-to-list 'custom-theme-load-path (concat prelude-dir "themes/"))