(py-pychecker-run): Use the last pychecker invocation as the default
contents of the next command.
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 50576cb..61d7ef4 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -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"))