view .elisp/settings/50.localfuncs.el @ 94:9052c3801744

First stab at some menu items for the nose stuff.
author Augie Fackler <durin42@gmail.com>
date Mon, 27 Apr 2009 21:52:04 -0500
parents 075b45c5aecc
children 0eabfd7a8ffa
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*")))