From: Richard M. Stallman Date: Thu, 21 May 1998 20:41:38 +0000 (+0000) Subject: (dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files. X-Git-Tag: emacs-20.3~900 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa8bacb6f5f3d007804621ab8ea95f066e1caff9;p=emacs.git (dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files. --- 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//")