Misc Emacs improvements

I stole these bad-boys from @tazjin's config.
This commit is contained in:
William Carroll 2020-07-06 20:45:33 +01:00
parent 359f376005
commit 5e81144622
2 changed files with 6 additions and 0 deletions

View file

@ -20,6 +20,9 @@
" %a %d %b [%U of 52 weeks]")) " %a %d %b [%U of 52 weeks]"))
(display-time-mode 1) (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 ;; disable custom variable entries from being written to ~/.emacs.d/init.el
(setq custom-file "~/.emacs.d/custom.el") (setq custom-file "~/.emacs.d/custom.el")
(load custom-file 'noerror) (load custom-file 'noerror)

View file

@ -24,6 +24,9 @@
;; increase line height ;; increase line height
(setq-default line-spacing 4) (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. ;; Ensure that buffers update when their contents change on disk.
(global-auto-revert-mode t) (global-auto-revert-mode t)