more informative frame-title-format

This commit is contained in:
Bozhidar Batsov 2012-03-13 17:16:01 +02:00
parent 7705c54aaa
commit fbf925cc32

View file

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