# HG changeset patch # User Richard M. Stallman # Date 895783298 0 # Node ID 306578297d44789221df78100c0d2ca87990a40c # Parent 050c1872b04b4f32719f3f7d2f789f140f4c57e3 (dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files. diff -r 050c1872b04b -r 306578297d44 lisp/dired-x.el --- a/lisp/dired-x.el Thu May 21 20:32:09 1998 +0000 +++ b/lisp/dired-x.el Thu May 21 20:41:38 1998 +0000 @@ -946,7 +946,7 @@ " " 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 @@ '("\\.out$" "xgraph") ; for plotting purposes. '("\\.tex$" "latex" "tex") '("\\.texi\\(nfo\\)?$" "makeinfo" "texi2dvi") + '("\\.pdf$" "acroread") ; edit PDF files ;; Some other popular archivers. '("\\.zoo$" "zoo x//")