changeset 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 73629b5f7093
children d367f23e6db1
files lisp/progmodes/python.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)