about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-07-06T19·45+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-07-06T19·45+0100
commit5e81144622d66ca011da28fb414d2a8bfe71cc7e (patch)
tree5d3e5984046558b8330983729b181b45bfc26dc8 /emacs/.emacs.d/wpc
parent359f376005836bf57018fbcf2a6e98a79e1a7a17 (diff)
Misc Emacs improvements
I stole these bad-boys from @tazjin's config.
Diffstat (limited to 'emacs/.emacs.d/wpc')
-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)