From 9fef58947148cf919b4a26adae279e340af629cf Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sat, 7 Nov 2009 20:06:03 +0100 Subject: Emacs with fixed gtk menus --- .../emacs/files/emacs-23.0.94-handle-xz-suffix.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch (limited to 'app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch') diff --git a/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch b/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch new file mode 100644 index 0000000..9345cea --- /dev/null +++ b/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch @@ -0,0 +1,16 @@ +Automatically handle .xz suffix (XZ-compressed files) +From Jim Meyering on emacs-devel + +--- a/lisp/jka-cmpr-hook.el ++++ b/lisp/jka-cmpr-hook.el +@@ -219,6 +219,10 @@ options through Custom does this automatically." + "compressing" "gzip" ("-c" "-q") + "uncompressing" "gzip" ("-c" "-q" "-d") + t t "\037\213"] ++ ["\\.xz\\(~\\|\\.~[0-9]+~\\)?\\'" ++ "XZ compressing" "xz" ("-c" "-q") ++ "XZ uncompressing" "xz" ("-c" "-q" "-d") ++ t t "\3757zXZ\0"] + ;; dzip is gzip with random access. Its compression program can't + ;; read/write stdin/out, so .dz files can only be viewed without + ;; saving, having their contents decompressed with gzip. -- cgit v1.2.3-70-g09d2