Skip to content

Instantly share code, notes, and snippets.

@prakashk
Created November 21, 2013 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prakashk/7585083 to your computer and use it in GitHub Desktop.
Save prakashk/7585083 to your computer and use it in GitHub Desktop.
;; set font interactively
;; from https://news.ycombinator.com/item?id=6773670
(defun set-font (font-family height)
(interactive "sFont family: \nnHeight: ")
(set-face-attribute 'default nil :family font-family :height height)
(set-fontset-font "fontset-default" 'unicode font-family))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment