summaryrefslogtreecommitdiff
path: root/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-11-07 20:06:03 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-11-07 20:08:16 +0100
commit9fef58947148cf919b4a26adae279e340af629cf (patch)
treec149a42ed9cd1662299ca457b8c3ec28c2394845 /app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch
parente5552acfe0f384a0656ef606b6307b08b5575565 (diff)
downloadoverlay-9fef58947148cf919b4a26adae279e340af629cf.tar.gz
overlay-9fef58947148cf919b4a26adae279e340af629cf.tar.bz2
overlay-9fef58947148cf919b4a26adae279e340af629cf.zip
Emacs with fixed gtk menus
Diffstat (limited to 'app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch')
-rw-r--r--app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch16
1 files changed, 16 insertions, 0 deletions
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 <meyering@redhat.com> 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.