# HG changeset patch # User Stefan Monnier # Date 1120028322 0 # Node ID 1962e8146bf467f57eb64492cc3e4ccfb5cf0042 # Parent 73629b5f70938d1933aae4d8145fe9135f9d96c2 (python-check): Require `compile' before modifying its variables. diff -r 73629b5f7093 -r 1962e8146bf4 lisp/progmodes/python.el --- 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)