Skip to content

Instantly share code, notes, and snippets.

@whoahbot
Created October 31, 2013 19:54
Show Gist options
  • Save whoahbot/7255993 to your computer and use it in GitHub Desktop.
Save whoahbot/7255993 to your computer and use it in GitHub Desktop.
toggle fullscreen in railwaycat emacs
(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