From: Stefan Monnier Date: Wed, 29 Jun 2005 06:58:42 +0000 (+0000) Subject: (python-check): Require `compile' before modifying its variables. X-Git-Tag: emacs-pretest-22.0.90~8588 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=533438b139c5de29067d47ba1d023e4c354d29c1;p=emacs.git (python-check): Require `compile' before modifying its variables. --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3f556bdb695..70ea8b4bac6 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -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)