comparison .elisp/settings/50.localfuncs.el @ 96:0eabfd7a8ffa

Add a fullscreen function, cleanup.
author Augie Fackler <durin42@gmail.com>
date Tue, 28 Apr 2009 14:06:57 -0500
parents 075b45c5aecc
children 8aa70b521063
comparison
equal deleted inserted replaced
95:df45e402581c 96:0eabfd7a8ffa
1 (defun pyflakes-this-buffer () 1 (defun pyflakes-this-buffer ()
2 (interactive) 2 (interactive)
3 (compilation-start (concat "cd " 3 (compilation-start (concat "cd "
4 (file-name-directory buffer-file-name) 4 (file-name-directory buffer-file-name)
5 "; pyflakes " (file-name-nondirectory buffer-file-name)) 5 "; pyflakes " (file-name-nondirectory
6 buffer-file-name))
6 nil 7 nil
7 (lambda (mode) "*pyflakes*"))) 8 (lambda (mode) "*pyflakes*")))
9
10
11 (defun fullscreen ()
12 (interactive)
13 (set-frame-parameter nil 'fullscreen
14 (if (frame-parameter nil 'fullscreen) nil 'fullboth)))