diff Misc/python-mode.el @ 24288:d814a731924a legacy-trunk

(py-pychecker-run): Use the last pychecker invocation as the default contents of the next command.
author Barry Warsaw <barry@python.org>
date Wed, 17 Jul 2002 21:25:43 +0000
parents d7237037f379
children 1f2b1e684850
line wrap: on
line diff
--- a/Misc/python-mode.el	Wed Jul 17 20:31:52 2002 +0000
+++ b/Misc/python-mode.el	Wed Jul 17 21:25:43 2002 +0000
@@ -2774,7 +2774,9 @@
 
      (list
       (read-shell-command "Run pychecker like this: "
-                          default
+                          (if py-pychecker-history
+			      (car py-pychecker-history)
+			    default)
                           'py-pychecker-history))))
   (save-some-buffers (not py-ask-about-save) nil)
   (compile-internal command "No more errors"))