[Top][All Lists]

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

RE: [h-e-w] customizing dired garbage files regex

From: Victor Kirk
Subject: RE: [h-e-w] customizing dired garbage files regex
Date: Wed, 11 Sep 2002 10:22:15 +0100

> (defvar dired-garbage-files-regexp
>  "\\.log$\\|\\.toc$\\|\\.dvi$\\|\\.bak$\\|\\.orig$\\|\\.rej$" 
>  "*Regular expression to match \"garbage\" files for

> How do I add my own ones to this list?  I can't seem to customize this
> behaviour short of editing dired.el, of course.

You could use a set statement to change this variable, e.g.

(set 'dired-garbage-files-regexp 
         (concat "\\.old$\\|" dired-garbage-files-regexp))

This will match *.old in addition to the existing regexps.

This message, including attachments, is intended only for the use by the
person(s) to whom it is addressed. It may contain information which is
privileged and confidential. Copying or use by anybody else is not
authorised. If you are not the intended recipient, please contact the sender
as soon as possible. The views expressed in this communication may not
necessarily be the views held by Serco Integrated Transport.

reply via email to

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