Update packages, set modeline font
This commit is contained in:
parent
1e763e685c
commit
6dc31b3338
2 changed files with 23 additions and 22 deletions
|
|
@ -45,7 +45,8 @@
|
|||
"Set font to NAME and its SIZE to X pixels."
|
||||
(interactive "sNew font: \nnEnter size for font %s: ")
|
||||
(set-face-attribute 'default nil :font (format "%s %d" name size))
|
||||
(set-face-attribute 'mode-line nil :font (format "%s %d" name size)))
|
||||
;; Set modeline font to be 1 pixel point smaller than the general font
|
||||
(set-face-attribute 'mode-line nil :font (format "%s %d" name (- size 1))))
|
||||
|
||||
(defun set-font-to-screen ()
|
||||
"Automatically set font size to suit the monitor."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue