Skip to content

Instantly share code, notes, and snippets.

@anarcher
Created January 20, 2013 12:59
Show Gist options
  • Save anarcher/4578479 to your computer and use it in GitHub Desktop.
Save anarcher/4578479 to your computer and use it in GitHub Desktop.
(defun global-text-scale-adjust (inc) (interactive)
(text-scale-set 1)
(kill-local-variable 'text-scale-mode-amount)
(setq-default text-scale-mode-amount (+ text-scale-mode-amount inc))
(global-text-scale-mode 1)
)
(global-text-scale-adjust 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment