]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files.
authorRichard M. Stallman <rms@gnu.org>
Thu, 21 May 1998 20:41:38 +0000 (20:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 21 May 1998 20:41:38 +0000 (20:41 +0000)
lisp/dired-x.el

index 7c67642872cbc8f8c2d0c103cc3f0904fa145b8c..f81c01e4c77fea91e04ae63c5e6ca271f116d70a 100644 (file)
@@ -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//")