[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired listing (dont display ~ files)
From: |
Matthias Meulien |
Subject: |
Re: dired listing (dont display ~ files) |
Date: |
20 Nov 2002 13:25:37 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
David Holden <dh@iucr.org> 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.
Dear David,
The `dired-x.el' file provides "extra" features for dired mode. Read
the info nodes `(dired-x)Installation' and `(dired-x)Omitting Files'
for more informations.
You need to load this elisp file (`M-x load-library RET dired-x RET').
To do load it at startup, add the following in emacs init file :
(add-hook 'dired-load-hook
(lambda ()
(load "dired-x")))
Then you toggle omitting of files with `dired-omit-toggle' bounded to
`M-o'.
To turn it on automagically for each dired buffer, add the following
to emacs init file :
(add-hook 'dired-mode-hook
(lambda ()
(setq dired-omit-files-p t)))
The default value of `dired-omit-extensions' contains the elements of
`completion-ignored-extensions', apriori it contains "~"...
--
Matthias