2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * jka-compr.el (jka-compr-verbose): New variable, and use
+ throughout (bug#8971).
+
* info.el (Info-find-file): Fall back on the installation
directory if we can't find the info node anywhere else.
:type 'string
:group 'jka-compr)
+(defcustom jka-compr-verbose t
+ "If non-nil, output messages whenever compressing or uncompressing files."
+ :type 'boolean
+ :group 'jka-compr)
+
(defvar jka-compr-use-shell
(not (memq system-type '(ms-dos windows-nt))))
(and
compress-message
+ jka-compr-verbose
(message "%s %s..." compress-message base-name))
(jka-compr-run-real-handler 'write-region
(and
compress-message
+ jka-compr-verbose
(message "%s %s...done" compress-message base-name))
(cond
(and
uncompress-message
+ jka-compr-verbose
(message "%s %s..." uncompress-message base-name))
(condition-case error-code
(and
uncompress-message
+ jka-compr-verbose
(message "%s %s...done" uncompress-message base-name))
(and
(and
uncompress-message
+ jka-compr-verbose
(message "%s %s..." uncompress-message base-name))
;; Here we must read the output of uncompress program
(and
uncompress-message
+ jka-compr-verbose
(message "%s %s...done" uncompress-message base-name))
(write-region