Add undo-tree package

This commit is contained in:
Maciej 2020-11-27 21:20:11 +02:00
parent 81c60f404d
commit affdeb52fe
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
4 changed files with 18 additions and 2 deletions

View file

@ -46,8 +46,11 @@
(defun set-font-to-screen ()
"Automatically set font size to suit the monitor."
(interactive)
;; If display is set to emulate FullHD resultion or less, make the font
;; smaller.
(if (>= 1080 (x-display-pixel-height))
(set-font "Hack" 13)
;; Else, set to default size.
(set-font "Hack" 16)))
;; Do it automatically on startup