From d2ea84be64e6ca1b82033f63ab7f3284515c173b Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Thu, 9 Feb 2006 19:20:46 +0000 Subject: [PATCH] (dired-guess-shell-alist-default): Add .man as a `dired-man' target. --- lisp/ChangeLog | 3 +++ lisp/dired-x.el | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8ed1d26e7c2..e5cc3af773c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2006-02-09 Masatake YAMATO + * 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. 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")) -- 2.39.2