[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: Sivaram Neelakantan
Subject: Re: [h-e-w] customizing dired garbage files regex
Date: 10 Sep 2002 05:33:43 +0530
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

>>>>> "Victor" == Victor Kirk <address@hidden> writes:

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

    >> 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.

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

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

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

Thanks, that works.


Attachment: Wipro_Disclaimer.txt
Description: Text document

reply via email to

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