diff lisp/progmodes/cperl-mode.el @ 73921:9bcc33b6d297

(cperl-mode): Before adding to it, make `compilation-error-regexp-alist' buffer-local, since we changed `compilation-error-regexp-alist-alist' locally.
author Romain Francoise <romain@orebokech.com>
date Sat, 11 Nov 2006 15:49:52 +0000
parents c09fdf139d4a
children 79a5ffc89507 dbe3f29e61d6
line wrap: on
line diff
--- a/lisp/progmodes/cperl-mode.el	Sat Nov 11 14:24:28 2006 +0000
+++ b/lisp/progmodes/cperl-mode.el	Sat Nov 11 15:49:52 2006 +0000
@@ -1783,6 +1783,7 @@
          (if (fboundp 'compilation-build-compilation-error-regexp-alist)
              (let ((f 'compilation-build-compilation-error-regexp-alist))
                (funcall f))
+           (make-local-variable 'compilation-error-regexp-alist)
            (push 'cperl compilation-error-regexp-alist)))
 	((boundp 'compilation-error-regexp-alist);; xmeacs 19.x
 	 (make-local-variable 'compilation-error-regexp-alist)