changeset 4409:3ff01259c4a2

Support LZMA compression in info.el. 2008-01-21 Aidan Kehoe <kehoea@parhasard.net> * info.el (Info-suffix-list): Support LZMA compression, as used--oddly--by Mandriva Linux.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 21 Jan 2008 16:26:36 +0100
parents 8bbabcab2c42
children aae1994dfeec
files lisp/ChangeLog lisp/info.el
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Jan 20 13:09:58 2008 +0100
+++ b/lisp/ChangeLog	Mon Jan 21 16:26:36 2008 +0100
@@ -1,3 +1,8 @@
+2008-01-21  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* info.el (Info-suffix-list): 
+	Support LZMA compression, as used--oddly--by Mandriva Linux. 
+
 2008-01-17  Mike Sperber  <mike@xemacs.org>
 
 	* files.el (insert-directory): Bind `coding-system-for-read' to
--- a/lisp/info.el	Sun Jan 20 13:09:58 2008 +0100
+++ b/lisp/info.el	Mon Jan 21 16:26:36 2008 +0100
@@ -479,6 +479,9 @@
 			      (".info.zip" . "unzip -c %s")
 			      (".y" . "cat %s | unyabba")
 			      ("info.y" . "cat %s | unyabba")
+                              ;; Mandriva Linux uses lzma.
+                              (".lzma" . "unlzma --stdout %s")
+                              (".info.lzma" . "unlzma --stdout %s")
 			      ;; These ones are for MS-DOS filenames.
 			      (".inf" . nil)
 			      (".igz" . "gzip -dc %s")