diff lisp/dired-x.el @ 107654:9a8d281f69fd

* dired-x.el (dired-omit-mode): Doc fix.
author Juri Linkov <juri@jurta.org>
date Tue, 30 Mar 2010 19:10:14 +0300
parents 1d1d5d9bd884
children 5b835c23f034
line wrap: on
line diff
--- a/lisp/dired-x.el	Tue Mar 30 19:03:08 2010 +0300
+++ b/lisp/dired-x.el	Tue Mar 30 19:10:14 2010 +0300
@@ -163,7 +163,13 @@
 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'."
+plus those ending with extensions in `dired-omit-extensions'.
+
+To enable omitting in every Dired buffer, you can put in your ~/.emacs
+
+  (add-hook 'dired-mode-hook (lambda () (dired-omit-mode 1)))
+
+See Info node `(dired-x) Omitting Variables' for more information."
   :group 'dired-x
   (if dired-omit-mode
       ;; This will mention how many lines were omitted: