Mercurial > dotfiles
view .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 |
line wrap: on
line source
(defun pyflakes-this-buffer () (interactive) (compilation-start (concat "cd " (file-name-directory 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)))