From 03210c3ae665e37b61960b5de473ea6582a9b59f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 16 May 2006 18:33:31 +0000 Subject: [PATCH] (auto-mode-alist): Add .lha files to archive file extensions. --- lisp/files.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5