summaryrefslogtreecommitdiff
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2010-03-30 19:10:14 +0300
committerJuri Linkov <juri@jurta.org>2010-03-30 19:10:14 +0300
commit2223a1b3346c38d4b76c136f35c55ed161cb7e24 (patch)
tree5b0fad2d3d069a0c25d603f01145d2a5218903d2 /lisp/dired-x.el
parentdc2d2590b24f7e4ee648b5d073ba744fbda7a4d8 (diff)
downloademacs-2223a1b3346c38d4b76c136f35c55ed161cb7e24.tar.gz
* dired-x.el (dired-omit-mode): Doc fix.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r--lisp/dired-x.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index f919840e65d..aba4b7a7a9d 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -163,7 +163,13 @@ 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'."
+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: