]> git.eshelyaron.com Git - emacs.git/commitdiff
(python-check): Require `compile' before modifying its variables.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 29 Jun 2005 06:58:42 +0000 (06:58 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 29 Jun 2005 06:58:42 +0000 (06:58 +0000)
lisp/progmodes/python.el

index 3f556bdb695850a744fc48c803d31c26fc9639c4..70ea8b4bac62ae6acf851db230c66af5067cdc01 100644 (file)
@@ -949,6 +949,7 @@ See `python-check-command' for the default."
                                    (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)