From: Barry Warsaw Date: Tue, 16 Jul 2002 15:56:28 +0000 (+0000) Subject: (py-pychecker-run): Thomas Heller points out that this function messes X-Git-Tag: v2.3c1~4998 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=daa192104d2cab44df2603cf8c46446e88a57007;p=thirdparty%2FPython%2Fcpython.git (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 --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index e327ad913b75..5e346043d54b 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -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"))