emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modernize the default list of archives supported by dired guesses


From: Antoine Levitt
Subject: Modernize the default list of archives supported by dired guesses
Date: Sun, 27 Feb 2011 16:07:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Here's a trivial patch to add 7z and unrar (both free software) to the
list of guessed archivers. Can you merge it? 

Antoine

diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index ce07676..6ed3cd1 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -988,6 +988,8 @@ replace it with a dir-locals-file `./%s'"
    '("\\.lzh$" "lharc x")
    '("\\.arc$" "arc x")
    '("\\.shar$" "unshar")
+   '("\\.rar$" "unrar x")
+   '("\\.7z$" "7z x")
 
    ;; Compression.
    (list "\\.g?z$" '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q")))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]