Variable: jka-compr-mode-alist-additions

jka-compr-mode-alist-additions is a customizable variable defined in jka-cmpr-hook.el.gz.

Value

(("\\.tgz\\'" . tar-mode)
 ("\\.tbz2?\\'" . tar-mode)
 ("\\.txz\\'" . tar-mode)
 ("\\.tzst\\'" . tar-mode))

Documentation

List of pairs added to auto-mode-alist when installing jka-compr.

Uninstalling jka-compr removes all pairs from auto-mode-alist that installing added.

If you set this outside Custom while Auto Compression mode is already enabled (as it is by default), you have to call jka-compr-update after setting it to properly update other variables. Setting this through Custom does that automatically.

This variable was added, or its default value changed, in Emacs 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/jka-cmpr-hook.el.gz
(defcustom jka-compr-mode-alist-additions
  (purecopy '(("\\.tgz\\'" . tar-mode)
              ("\\.tbz2?\\'" . tar-mode)
              ("\\.txz\\'" . tar-mode)
              ("\\.tzst\\'" . tar-mode)))
  "List of pairs added to `auto-mode-alist' when installing jka-compr.
Uninstalling jka-compr removes all pairs from `auto-mode-alist' that
installing added.

If you set this outside Custom while Auto Compression mode is
already enabled \(as it is by default), you have to call
`jka-compr-update' after setting it to properly update other
variables.  Setting this through Custom does that automatically."
  :type '(repeat (cons string symbol))
  :version "24.4"			; add txz
  :set 'jka-compr-set
  :group 'jka-compr)