Emacs: Add use-fixed-fonts function Counterpart to use-variable fonts
Alan Pearce alan@alanpearce.eu
Wed, 18 Oct 2017 12:35:52 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -172,6 +172,11 @@ (interactive) (variable-pitch-mode) (setq cursor-type '(bar . 1))) + (defun use-fixed-fonts () + (interactive) + (variable-pitch-mode -1) + (setq cursor-type 'box)) + (defun ap/set-fonts (mono-face mono-font-size variable-face variable-font-size antialias &optional new-line-spacing) (if (boundp 'ns-antialias-text) (setq ns-antialias-text antialias))