changeset 76299:08cc2843c940

(cperl-mode): Modify cperl-compilation-error-regexp-alist by appending.
author Richard M. Stallman <rms@gnu.org>
date Sun, 04 Mar 2007 17:53:41 +0000
parents 872a30c0f872
children 656132bca5c0
files lisp/progmodes/cperl-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cperl-mode.el	Sun Mar 04 17:53:03 2007 +0000
+++ b/lisp/progmodes/cperl-mode.el	Sun Mar 04 17:53:41 2007 +0000
@@ -1795,8 +1795,8 @@
 	((boundp 'compilation-error-regexp-alist);; xmeacs 19.x
 	 (make-local-variable 'compilation-error-regexp-alist)
 	 (set 'compilation-error-regexp-alist
-	       (cons cperl-compilation-error-regexp-alist
-		     (symbol-value 'compilation-error-regexp-alist)))))
+	       (append cperl-compilation-error-regexp-alist
+		       (symbol-value 'compilation-error-regexp-alist)))))
   (make-local-variable 'font-lock-defaults)
   (setq	font-lock-defaults
 	(cond