Function: jka-compr-update

jka-compr-update is a byte-compiled function defined in jka-cmpr-hook.el.gz.

Signature

(jka-compr-update)

Documentation

Update Auto Compression mode for changes in option values.

If you change the options jka-compr-compression-info-list, jka-compr-mode-alist-additions or jka-compr-load-suffixes outside Custom, while Auto Compression mode is already enabled
(as it is by default), then you have to call this function
afterward to properly update other variables. Setting these options through Custom does this automatically.

Source Code

;; Defined in /usr/src/emacs/lisp/jka-cmpr-hook.el.gz
(defun jka-compr-update ()
  "Update Auto Compression mode for changes in option values.
If you change the options `jka-compr-compression-info-list',
`jka-compr-mode-alist-additions' or `jka-compr-load-suffixes'
outside Custom, while Auto Compression mode is already enabled
\(as it is by default), then you have to call this function
afterward to properly update other variables.  Setting these
options through Custom does this automatically."
  (when (jka-compr-installed-p)
    (jka-compr-uninstall)
    (jka-compr-install)))