Created
October 31, 2013 19:54
-
-
Save whoahbot/7255993 to your computer and use it in GitHub Desktop.
toggle fullscreen in railwaycat emacs
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 toggle-fullscreen () | |
"Toggle full screen" | |
(interactive) | |
(set-frame-parameter | |
nil 'fullscreen | |
(when (not (frame-parameter nil 'fullscreen)) 'fullboth))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment