changeset 68748:51fd7d4e1d8a

(dired-guess-shell-alist-default): Add .man as a `dired-man' target.
author Masatake YAMATO <jet@gyve.org>
date Thu, 09 Feb 2006 19:20:46 +0000
parents d8d4d5dad20e
children c0b14a7a6a49
files lisp/ChangeLog lisp/dired-x.el
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Feb 09 19:15:46 2006 +0000
+++ b/lisp/ChangeLog	Thu Feb 09 19:20:46 2006 +0000
@@ -1,5 +1,8 @@
 2006-02-09 Masatake YAMATO  <jet@gyve.org>
 
+	* dired-x.el (dired-guess-shell-alist-default): Add .man as
+	a `dired-man' target.
+	
 	* progmodes/autoconf.el (autoconf-font-lock-keywords): Check start 
 	boundary of symbols.
 
--- a/lisp/dired-x.el	Thu Feb 09 19:15:46 2006 +0000
+++ b/lisp/dired-x.el	Thu Feb 09 19:20:46 2006 +0000
@@ -1027,11 +1027,11 @@
                   " " 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"))