]> git.eshelyaron.com Git - emacs.git/commitdiff
Use archive-mode for .cbr files
authorGlenn Morris <rgm@gnu.org>
Tue, 29 Nov 2016 21:57:05 +0000 (16:57 -0500)
committerGlenn Morris <rgm@gnu.org>
Tue, 29 Nov 2016 21:57:05 +0000 (16:57 -0500)
* lisp/files.el (auto-mode-alist): Add cbr.  (Bug#24994)

lisp/files.el

index c56ff1df561315f52e14e53ba6111ef5c5f415c0..84f8dc7db947d01c45d97a138c034244678879c1 100644 (file)
@@ -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