changeset 22177:306578297d44

(dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files.
author Richard M. Stallman <rms@gnu.org>
date Thu, 21 May 1998 20:41:38 +0000
parents 050c1872b04b
children 09a101ff1885
files lisp/dired-x.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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//")