emacs-devel
[Top][All Lists]
Advanced

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

Re: Is it a mistake to define dired-omit-mode as a minor mode?


From: Tassilo Horn
Subject: Re: Is it a mistake to define dired-omit-mode as a minor mode?
Date: Thu, 18 Mar 2010 22:41:12 +0100
User-agent: KMail/1.13.1 (Linux/2.6.33-gentoo; KDE/4.4.1; x86_64; ; )

On Thursday 18 March 2010 21:37:46 Leo wrote:

Hi!
 
> For what it does, it seems dired-omit-mode should just be an
> interactive function. The name is so confusing that some people are
> suggesting (dired-omit-mode 1) to enable it, which actually does
> almost nothing if you put it in your .emacs file.

The docs are pretty clear on that:

dired-omit-mode is an interactive compiled Lisp function in `dired-
x.el'.

(dired-omit-mode &optional ARG)

Toggle Dired-Omit mode.
With numeric ARG, enable Dired-Omit mode if ARG is positive, disable
otherwise.  Enabling and disabling is buffer-local.
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If enabled, "uninteresting" files are not listed.
Uninteresting files are those whose filenames match regexp `dired-omit-
files', plus those ending with extensions in `dired-omit-extensions'.

Bye,
Tassilo




reply via email to

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