Commit 533438b1 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(python-check): Require `compile' before modifying its variables.

parent 8c39e595
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment