Emacs: full screen on Mac OS X
If you have a recent version of Carbon Emacs, you can run M-x mac-toggle-max-window to toggle full screen mode, with no menubar. This is handy enough that I've bound it to ⌘ Return, which is similar to what some Linux and Windows apps use to toggle full screen mode.
(define-key global-map [(alt return)] 'mac-toggle-max-window)
I also keep the tool bar off with (tool-bar-mode -1), scroll bars disabled with (scroll-bar-mode -1), and menu bars off with (menu-bar-mode -1). Enjoy an Emacs without distractions!
Update [2008-08-10] They seem to have removed the function, but you can get it back with this code, Vebjorn Lsoja:
(defun mac-toggle-max-window ()
(interactive)
(set-frame-parameter nil 'fullscreen
(if (frame-parameter nil 'fullscreen)
nil
'fullboth)))
Subscribe to:
Posts (Atom)