# HG changeset patch # User Augie Fackler # Date 1240945617 18000 # Node ID 0eabfd7a8ffa97d34644466ba5270bbf4302dbe5 # Parent df45e402581c019deed9dc50567655182bd80ceb Add a fullscreen function, cleanup. diff --git a/.elisp/settings/50.localfuncs.el b/.elisp/settings/50.localfuncs.el --- a/.elisp/settings/50.localfuncs.el +++ b/.elisp/settings/50.localfuncs.el @@ -2,6 +2,13 @@ (interactive) (compilation-start (concat "cd " (file-name-directory buffer-file-name) - "; pyflakes " (file-name-nondirectory buffer-file-name)) + "; pyflakes " (file-name-nondirectory + buffer-file-name)) nil (lambda (mode) "*pyflakes*"))) + + +(defun fullscreen () + (interactive) + (set-frame-parameter nil 'fullscreen + (if (frame-parameter nil 'fullscreen) nil 'fullboth)))