> C-c C-v (python-check), called with the default command, results in
> an error:

> call-interactively: Symbol's value as variable is void: compilation- 
> error-regexp-alist

The patch below should trivially fix this problem.


        Stefan


--- orig/lisp/progmodes/python.el
+++ mod/lisp/progmodes/python.el
@@ -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)


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to