view .elisp/settings/50.localfuncs.el @ 95:df45e402581c

Save in server buffer also marks as done.
author Augie Fackler <durin42@gmail.com>
date Thu, 30 Apr 2009 15:04:11 -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*")))