diff lisp/progmodes/python.el @ 63831:1962e8146bf4

(python-check): Require `compile' before modifying its variables.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 29 Jun 2005 06:58:42 +0000
parents 7b4e7e55f61b
children 69990675200d bb71c6cf2009
line wrap: on
line diff
--- a/lisp/progmodes/python.el	Wed Jun 29 06:46:37 2005 +0000
+++ b/lisp/progmodes/python.el	Wed Jun 29 06:58:42 2005 +0000
@@ -949,6 +949,7 @@
 				    (if name
 					(file-name-nondirectory name))))))))
   (setq python-saved-check-command command)
+  (require 'compile)                    ;To define compilation-* variables.
   (save-some-buffers (not compilation-ask-about-save) nil)
   (let ((compilation-error-regexp-alist
 	 (cons '("(\\([^,]+\\), line \\([0-9]+\\))" 1 2)