[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Costumising the colours in Dired
From: |
David Hansen |
Subject: |
Re: Costumising the colours in Dired |
Date: |
Thu, 27 Jan 2005 13:44:30 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
On Thu, 27 Jan 2005 13:21:40 +0100 Andreas Christiansen wrote:
> Dired is kind enough to display the LaTeX files you don't want to keep
> (.aux, .log, etc) in a different colour, while the .tex files are
> displayed using the ordinary colour. That makes it easy to clean up all
> unwanted files.
>
> However, the .pdf files is displayed in the same colour as the files you
> want to remove, while the .ps files are displayed using the ordinary
> colour. I want to swap colour for these two types of files. How do I do
> that?
(setq completion-ignored-extensions
(remove ".pdf" completion-ignored-extensions))
(add-to-list 'completion-ignored-extensions ".ps")
As you may have already guessed this has side effects when
completing file names.
David