Skip to content

Instantly share code, notes, and snippets.

@shargoj
Created January 28, 2014 05:44
Show Gist options
  • Save shargoj/8662814 to your computer and use it in GitHub Desktop.
Save shargoj/8662814 to your computer and use it in GitHub Desktop.
(require 'frame-fns)
(require 'frame-cmds)
(defun jim/set-font-height ()
"sets the font height to the given number"
(interactive)
(let ((font-height (string-to-int (read-from-minibuffer "What height do you want? "))))
(set-face-attribute 'default nil :height font-height)
(maximize-frame)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment