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/"))