changeset 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 21fce1cf56ee
children 289cedd46cd8
files lisp/ChangeLog lisp/progmodes/cperl-mode.el
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Nov 11 14:24:28 2006 +0000
+++ b/lisp/ChangeLog	Sat Nov 11 15:49:52 2006 +0000
@@ -1,3 +1,9 @@
+2006-11-11  Romain Francoise  <romain@orebokech.com>
+
+	* progmodes/cperl-mode.el (cperl-mode): Before adding to it, make
+	`compilation-error-regexp-alist' buffer-local, since we changed
+	`compilation-error-regexp-alist-alist' locally.
+
 2006-11-11  Juanma Barranquero  <lekktu@gmail.com>
 
 	* server.el (server-visit-files): Bind `minibuffer-auto-raise'
--- 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)