all repos — nixfiles @ 0a297c13575bcc98c037219017da3a2695a33eee

System and user configuration, managed by nix and home-manager

Emacs: Add use-fixed-fonts function Counterpart to use-variable fonts

Alan Pearce
commit

0a297c13575bcc98c037219017da3a2695a33eee

parent

75c5e4df2e02756caded5047806d5e7794eea3bb

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.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))