From fa8bacb6f5f3d007804621ab8ea95f066e1caff9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 21 May 1998 20:41:38 +0000 Subject: [PATCH] (dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files. --- lisp/dired-x.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 7c67642872c..f81c01e4c77 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -946,7 +946,7 @@ dired." " " dired-guess-shell-znew-switches)) ;; gzip'ed archives - (list "\\.tar\\.g?z$" + (list "\\.t\\(ar\\.\\)g?z$" '(if dired-guess-shell-gnutar (concat dired-guess-shell-gnutar " zxvf") (concat "gunzip -qc * | tar xvf -")) @@ -987,6 +987,7 @@ dired." '("\\.out$" "xgraph") ; for plotting purposes. '("\\.tex$" "latex" "tex") '("\\.texi\\(nfo\\)?$" "makeinfo" "texi2dvi") + '("\\.pdf$" "acroread") ; edit PDF files ;; Some other popular archivers. '("\\.zoo$" "zoo x//") -- 2.39.2