# HG changeset patch # User Augie Fackler # Date 1239982040 18000 # Node ID f34d90569fdc14809c5ac6305a0a808d49fa7f8d # Parent 68f53fa09e99383588459df0d5face8409af03a4 Add a file for local functions not yet extracted into a module. Includes a function to run pyflakes on the current buffer. diff --git a/.elisp/settings/50.localfuncs.el b/.elisp/settings/50.localfuncs.el new file mode 100644 --- /dev/null +++ b/.elisp/settings/50.localfuncs.el @@ -0,0 +1,3 @@ +(defun pyflakes-this-buffer () + (interactive) + (compilation-start (concat "pyflakes " buffer-file-name) nil (lambda (mode) "*pyflakes*")))