diff Misc/python-mode.el @ 24246:9a58d64f8fc3 legacy-trunk

(py-pychecker-run): Thomas Heller points out that this function messes up the compile command's history. Fix that by using compile-internal. Fixes SF bug # 580631
author Barry Warsaw <barry@python.org>
date Tue, 16 Jul 2002 15:56:28 +0000
parents ecef65e57cc6
children 305422d69d31
line wrap: on
line diff
--- a/Misc/python-mode.el	Tue Jul 16 14:30:28 2002 +0000
+++ b/Misc/python-mode.el	Tue Jul 16 15:56:28 2002 +0000
@@ -2772,9 +2772,9 @@
      (list
       (read-shell-command "Run pychecker like this: "
                           default
-                          py-pychecker-history))))
+                          'py-pychecker-history))))
   (save-some-buffers (not py-ask-about-save) nil)
-  (compile command))
+  (compile-internal command "No more errors"))