]> code.delx.au - gnu-emacs/blobdiff - lisp/jka-cmpr-hook.el
Make `buffer-offer-save' permanently local
[gnu-emacs] / lisp / jka-cmpr-hook.el
index fda9804bbb88e077bd5cae4f87eaa07798b67901..d28fde0b214fb859ee25abee02742063ef6676cf 100644 (file)
   "jka-compr customization."
   :group 'compression)
 
+(defcustom jka-compr-verbose t
+  "If non-nil, output messages whenever compressing or uncompressing files."
+  :version "24.1"
+  :type 'boolean
+  :group 'jka-compr)
+
 ;; List of all the elements we actually added to file-coding-system-alist.
 (defvar jka-compr-added-to-file-coding-system-alist nil)
 
@@ -340,7 +346,7 @@ Return the new status of auto compression (non-nil means on)."
      (t (jka-compr-uninstall)))))
 
 (defmacro with-auto-compression-mode (&rest body)
-  "Evalute BODY with automatic file compression and uncompression enabled."
+  "Evaluate BODY with automatic file compression and uncompression enabled."
   (declare (indent 0))
   (let ((already-installed (make-symbol "already-installed")))
     `(let ((,already-installed (jka-compr-installed-p)))