Xah Talk Show 2019-12-08, emacs lisp coding command for global bigger font, chat with Bart
topics talked:
- emacs lisp , write a command to increase font, for all frames/buffers
- try out online guest in Xah Talk Show. Chat with Bart.
Thanks to Alan for the pear image.
(defun xah-bigger-font-global () "Make font size larger globally. currently only works for mac. because, the right size for a “bigger” font depends on your monitor resolution and also font used, and in turn, also what font is available on which OS. Version 2019-12-08" (interactive) (cond ((string-equal system-type "gnu/linux") (when (member "DejaVu Sans Mono" (font-family-list)) (set-frame-font "DejaVu Sans Mono" t t))) ((string-equal system-type "darwin") (when (member "Menlo" (font-family-list)) (set-frame-font "Menlo-15" t t))) ((string-equal system-type "windows-nt") (when (member "Courier" (font-family-list)) (set-frame-font "Courier" t t)))))