changeset 96:0eabfd7a8ffa

Add a fullscreen function, cleanup.
author Augie Fackler <durin42@gmail.com>
date Tue, 28 Apr 2009 14:06:57 -0500
parents df45e402581c
children 5f7b673008b5
files .elisp/settings/50.localfuncs.el
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)))