]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(py-pychecker-run): Thomas Heller points out that this function messes
authorBarry Warsaw <barry@python.org>
Tue, 16 Jul 2002 15:56:28 +0000 (15:56 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 16 Jul 2002 15:56:28 +0000 (15:56 +0000)
up the compile command's history.  Fix that by using compile-internal.

Fixes SF bug # 580631

Misc/python-mode.el

index e327ad913b7505bf4e12f6534abf6263e9634d8b..5e346043d54becff81973c9b42fda8273139dae7 100644 (file)
@@ -2772,9 +2772,9 @@ A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores."
      (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"))
 
 
 \f