changeset 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 bfde3c2dbef5
children 0958f6c3f7c6
files lisp/ChangeLog lisp/dired-x.el
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Mar 30 19:03:08 2010 +0300
+++ b/lisp/ChangeLog	Tue Mar 30 19:10:14 2010 +0300
@@ -1,3 +1,7 @@
+2010-03-30  Juri Linkov  <juri@jurta.org>
+
+	* dired-x.el (dired-omit-mode): Doc fix.
+
 2010-03-30  Juri Linkov  <juri@jurta.org>
 
 	Make occur handle multi-line matches cleanly with context.
--- 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: