Mercurial > dotfiles
annotate .elisp/settings/50.localfuncs.el @ 89:f34d90569fdc
Add a file for local functions not yet extracted into a module. Includes a function to run pyflakes on the current buffer.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Fri, 17 Apr 2009 10:27:20 -0500 |
parents | |
children | 075b45c5aecc |
rev | line source |
---|---|
89
f34d90569fdc
Add a file for local functions not yet extracted into a module. Includes a function to run pyflakes on the current buffer.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 (defun pyflakes-this-buffer () |
f34d90569fdc
Add a file for local functions not yet extracted into a module. Includes a function to run pyflakes on the current buffer.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
2 (interactive) |
f34d90569fdc
Add a file for local functions not yet extracted into a module. Includes a function to run pyflakes on the current buffer.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
3 (compilation-start (concat "pyflakes " buffer-file-name) nil (lambda (mode) "*pyflakes*"))) |