about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/wpc-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-ui.el')
-rw-r--r--emacs/.emacs.d/wpc/wpc-ui.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-ui.el b/emacs/.emacs.d/wpc/wpc-ui.el
index 1243feb0aa38..cdb210217412 100644
--- a/emacs/.emacs.d/wpc/wpc-ui.el
+++ b/emacs/.emacs.d/wpc/wpc-ui.el
@@ -24,6 +24,9 @@
 ;; increase line height
 (setq-default line-spacing 4)
 
+(when window-system
+  (setq frame-title-format '(buffer-file-name "%f" ("%b"))))
+
 ;; Ensure that buffers update when their contents change on disk.
 (global-auto-revert-mode t)