aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-21 20:41:38 +0000
committerRichard M. Stallman1998-05-21 20:41:38 +0000
commitfa8bacb6f5f3d007804621ab8ea95f066e1caff9 (patch)
treefbe9bc4522af3771cf5fcc15c01c0e69ea8031cf
parent537b6e4e55b8e0b7c402cdff98e434cc4ec0c0f5 (diff)
downloademacs-fa8bacb6f5f3d007804621ab8ea95f066e1caff9.tar.gz
emacs-fa8bacb6f5f3d007804621ab8ea95f066e1caff9.zip
(dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files.
-rw-r--r--lisp/dired-x.el3
1 files changed, 2 insertions, 1 deletions
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."
946 " " dired-guess-shell-znew-switches)) 946 " " dired-guess-shell-znew-switches))
947 947
948 ;; gzip'ed archives 948 ;; gzip'ed archives
949 (list "\\.tar\\.g?z$" 949 (list "\\.t\\(ar\\.\\)g?z$"
950 '(if dired-guess-shell-gnutar 950 '(if dired-guess-shell-gnutar
951 (concat dired-guess-shell-gnutar " zxvf") 951 (concat dired-guess-shell-gnutar " zxvf")
952 (concat "gunzip -qc * | tar xvf -")) 952 (concat "gunzip -qc * | tar xvf -"))
@@ -987,6 +987,7 @@ dired."
987 '("\\.out$" "xgraph") ; for plotting purposes. 987 '("\\.out$" "xgraph") ; for plotting purposes.
988 '("\\.tex$" "latex" "tex") 988 '("\\.tex$" "latex" "tex")
989 '("\\.texi\\(nfo\\)?$" "makeinfo" "texi2dvi") 989 '("\\.texi\\(nfo\\)?$" "makeinfo" "texi2dvi")
990 '("\\.pdf$" "acroread") ; edit PDF files
990 991
991 ;; Some other popular archivers. 992 ;; Some other popular archivers.
992 '("\\.zoo$" "zoo x//") 993 '("\\.zoo$" "zoo x//")