From: Stefan Monnier Date: Thu, 3 Apr 2008 20:06:46 +0000 (+0000) Subject: (auto-mode-alist): Use archive-mode for Debian packages. X-Git-Tag: emacs-pretest-23.0.90~6618 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ece21937054981b66cfb0ead88ff463f172d8e77;p=emacs.git (auto-mode-alist): Use archive-mode for Debian packages. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 998dfb3c4dd..fa273b8af6c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2008-04-03 Stefan Monnier + * files.el (auto-mode-alist): Use archive-mode for Debian packages. + * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link. (archive-try-jka-compr): New function. (archive-set-buffer-as-visiting-file): Use it. diff --git a/lisp/files.el b/lisp/files.el index 14ec38e0bf6..21d99fd6518 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2060,6 +2060,7 @@ since only a single case-insensitive search through the alist is made." arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode) ("\\.\\(sx[dmicw]\\|odt\\)\\'" . archive-mode) ; OpenOffice.org + ("\\.\\(deb\\)\\'" . archive-mode) ; Debian packages. ;; Mailer puts message to be edited in ;; /tmp/Re.... or Message ("\\`/tmp/Re" . text-mode)