1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(dired-guess-shell-alist-default): Add .man as a `dired-man' target.

This commit is contained in:
Masatake YAMATO 2006-02-09 19:20:46 +00:00
parent d9674f335b
commit d2ea84be64
2 changed files with 5 additions and 2 deletions

View file

@ -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"))