Skip to content

Instantly share code, notes, and snippets.

@rdsr
Created November 16, 2010 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdsr/701439 to your computer and use it in GitHub Desktop.
Save rdsr/701439 to your computer and use it in GitHub Desktop.
;;toggle full-screen
(defun toggle-fullscreen ()
(interactive)
(set-frame-parameter
nil
'fullscreen
(if (frame-parameter nil 'fullscreen)
nil
'fullboth)))
(global-set-key [(meta return)] 'toggle-fullscreen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment