From: Eli Zaretskii Date: Tue, 16 May 2006 18:33:31 +0000 (+0000) Subject: (auto-mode-alist): Add .lha files to archive file extensions. X-Git-Tag: emacs-pretest-22.0.90~2541 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03210c3ae665e37b61960b5de473ea6582a9b59f;p=emacs.git (auto-mode-alist): Add .lha files to archive file extensions. --- diff --git a/lisp/files.el b/lisp/files.el index bfb849ffd68..16df2661fcf 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1897,8 +1897,8 @@ in that case, this function acts as if `enable-local-variables' were t." ("\\.tar\\'" . tar-mode) ;; The list of archive file extensions should be in sync with ;; `auto-coding-alist' with `no-conversion' coding system. - ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|[jew]ar\\|xpi\\)\\'" . archive-mode) - ("\\.\\(ARC\\|ZIP\\|LZH\\|ZOO\\|[JEW]AR\\|XPI\\)\\'" . archive-mode) + ("\\.\\(arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\)\\'" . archive-mode) + ("\\.\\(ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\)\\'" . archive-mode) ("\\.\\(sx[dmicw]\\|odt\\)\\'" . archive-mode) ; OpenOffice.org ;; Mailer puts message to be edited in ;; /tmp/Re.... or Message