Commit 9699776c authored by Dave Love's avatar Dave Love
Browse files

(auto-compression-mode): New variable for customization.

parent 67271658
......@@ -759,6 +759,19 @@ It is not recommended to set this variable permanently to anything but nil.")
(inhibit-file-name-operation operation))
(apply operation args)))
;;;###autoload
(defcustom auto-compression-mode nil
"Toggle automatic file compression and uncompression.
Setting this variable directly does not take effect;
use either \\[customize] or the function `auto-compression-mode'."
:set (lambda (symbol value)
(auto-compression-mode (or value 0)))
:initialize 'custom-initialize-default
:group 'jka-compr
:version "21.1"
:type 'boolean
:require 'jka-compr)
;;;###autoload(defun auto-compression-mode (&optional arg)
;;;###autoload "\
;;;###autoloadToggle automatic file compression and uncompression.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment