diff options
author | Romain Francoise <romain@orebokech.com> | 2006-11-11 15:49:52 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2006-11-11 15:49:52 +0000 |
commit | 28a62ecb9b11254d64e0f070f13a47acd72ded72 (patch) | |
tree | 9d134c866ae6a90b8f2dadaf60022bb4a8c1be67 | |
parent | 21f89bb7ae2c2b5f0e6278c1740ac5541d057db3 (diff) | |
download | emacs-28a62ecb9b11254d64e0f070f13a47acd72ded72.tar.gz |
(cperl-mode): Before adding to it, make `compilation-error-regexp-alist'
buffer-local, since we changed `compilation-error-regexp-alist-alist'
locally.
-rw-r--r-- | lisp/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/progmodes/cperl-mode.el | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f559521f274..6a5667cb356 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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' diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 26bbb8f3faf..983087d07bc 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el @@ -1783,6 +1783,7 @@ or as help on variables `cperl-tips', `cperl-problems', (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) |