From: Glenn Morris Date: Tue, 29 Nov 2016 21:57:05 +0000 (-0500) Subject: Use archive-mode for .cbr files X-Git-Tag: emacs-26.0.90~1246 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa525b7dd6b64da095405f3710fb04997dcd371c;p=emacs.git Use archive-mode for .cbr files * lisp/files.el (auto-mode-alist): Add cbr. (Bug#24994) --- diff --git a/lisp/files.el b/lisp/files.el index c56ff1df561..84f8dc7db94 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2508,8 +2508,8 @@ since only a single case-insensitive search through the alist is made." ;; The list of archive file extensions should be in sync with ;; `auto-coding-alist' with `no-conversion' coding system. ("\\.\\(\ -arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|7z\\|\ -ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\)\\'" . archive-mode) +arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|cbr\\|7z\\|\ +ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|CBR\\|7Z\\)\\'" . archive-mode) ("\\.oxt\\'" . archive-mode) ;(Open|Libre)Office extensions. ("\\.\\(deb\\|[oi]pk\\)\\'" . archive-mode) ; Debian/Opkg packages. ;; Mailer puts message to be edited in