]> git.eshelyaron.com Git - emacs.git/commitdiff
(cperl-mode): Modify cperl-compilation-error-regexp-alist by appending.
authorRichard M. Stallman <rms@gnu.org>
Sun, 4 Mar 2007 17:53:41 +0000 (17:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 4 Mar 2007 17:53:41 +0000 (17:53 +0000)
lisp/progmodes/cperl-mode.el

index 29f4cc372d30a171f797e1e916bca037c4f7f544..0b8287503f860518516c94f42ebcf8698eb6156b 100644 (file)
@@ -1795,8 +1795,8 @@ or as help on variables `cperl-tips', `cperl-problems',
        ((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