[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired listing (dont display ~ files)
From: |
Edric M Ellis |
Subject: |
Re: dired listing (dont display ~ files) |
Date: |
20 Nov 2002 11:48:27 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
On 20 Nov 2002, David Holden wrote:
> Does anyone know how I can get emacs Dired not to display files with
> ~ on the end, e.g. backup files in the C-f listing of a directory.
For me, just doing "M-o" in a dired listing is enough - see the
variable dired-omit-extensions, which includes "~".
> Below is my .emacs file, I though the line
>
> '(dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$|^.*~$")
I think you need "\\" before that last "|" for that regexp to work.
Cheers,
Edric.
--
Edric M Ellis
The MathWorks, Ltd., Matrix House, Cowley Park, Cambridge CB4 0HH, UK
Tel: +44 (0) 1223 423 200 Ext: 218
Fax: +44 (0) 1223 423 255