about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/wpc/wpc-misc.el3
-rw-r--r--emacs/.emacs.d/wpc/wpc-ui.el3
2 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el
index 1483c53af244..f8bc2079b55d 100644
--- a/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/emacs/.emacs.d/wpc/wpc-misc.el
@@ -20,6 +20,9 @@
               " %a %d %b [%U of 52 weeks]"))
 (display-time-mode 1)
 
+;; Remove the boilerplate in the *scratch* buffer
+(setq initial-scratch-message "")
+
 ;; disable custom variable entries from being written to ~/.emacs.d/init.el
 (setq custom-file "~/.emacs.d/custom.el")
 (load custom-file 'noerror)
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)