help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to edit compilation-error-regexp-alist in .emacs file?


From: Syver Enstad
Subject: Re: How to edit compilation-error-regexp-alist in .emacs file?
Date: Mon, 16 Sep 2002 18:18:09 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Siegfried Heintze" <address@hidden> writes:

> When I put the following in my .emacs fail, I get an error. This is
> probably
> 
> because the necessary modules have not been loaded yet.
> 
> How do I automatically execute these statements after the necessary
> modules
> 
> have been loaded?
> 
> (setcar (car compilation-error-regexp-alist) (concat "\\(\\[Error\\]
> \\|\\[Fatal Error\\] \\)?"  (caar compilation-error-regexp-alist)))
>   (setcdr (car compilation-error-regexp-alist) '(3 4 7))

Use a hook?

-- 

Vennlig hilsen 

Syver Enstad


reply via email to

[Prev in Thread] Current Thread [Next in Thread]