Created
February 6, 2016 12:50
-
-
Save msgodf/9512e25228195c3ae943 to your computer and use it in GitHub Desktop.
Function to maximize Emacs on my laptop display (Retina MacBook Pro 13", scaled for maximum space)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun maximize-laptop () | |
"Resize to fill my laptop display, and hide menu bar" | |
(interactive) | |
(setq ns-auto-hide-menu-bar t) | |
(set-frame-position nil 0 -22) | |
(set-frame-size nil 1660 1046 'pixelwise)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment