summaryrefslogtreecommitdiff
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorMasatake YAMATO <jet@gyve.org>2006-02-09 19:20:46 +0000
committerMasatake YAMATO <jet@gyve.org>2006-02-09 19:20:46 +0000
commit59c7a641b674436083e36becfd19f801dbce70d8 (patch)
tree5a72c21792162d2893c091c8a843958fbbf1bc84 /lisp/dired-x.el
parenta46cc86beb778e52b752b48916d93c5a05c6b0b6 (diff)
downloademacs-59c7a641b674436083e36becfd19f801dbce70d8.tar.gz
(dired-guess-shell-alist-default): Add .man as a `dired-man' target.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r--lisp/dired-x.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index da9fc284801..e207c60502d 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -1027,11 +1027,11 @@ dired."
" " dired-guess-shell-znew-switches))
;; The following four extensions are useful with dired-man ("N" key)
- (list "\\.[0-9]$" '(progn (require 'man)
+ (list "\\.\\(?:[0-9]\\|man\\)$" '(progn (require 'man)
(if (Man-support-local-filenames)
"man -l"
"cat * | tbl | nroff -man -h")))
- (list "\\.[0-9]\\.g?z$" '(progn (require 'man)
+ (list "\\.\\(?:[0-9]\\|man\\)\\.g?z$" '(progn (require 'man)
(if (Man-support-local-filenames)
"man -l"
"gunzip -qc * | tbl | nroff -man -h"))