diff options
| author | Dave Love | 1999-08-16 11:46:07 +0000 |
|---|---|---|
| committer | Dave Love | 1999-08-16 11:46:07 +0000 |
| commit | 9699776ccb30ade407a4e0352f454eeb381dea20 (patch) | |
| tree | 858b9d8344407ff36926424a7dfbd4babdfccf59 | |
| parent | 67271658b35aeb215c55dbc9bd86dbe9a1f8e166 (diff) | |
| download | emacs-9699776ccb30ade407a4e0352f454eeb381dea20.tar.gz emacs-9699776ccb30ade407a4e0352f454eeb381dea20.zip | |
(auto-compression-mode): New variable for customization.
| -rw-r--r-- | lisp/jka-compr.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index b2b53335fc4..17a8d189cbb 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el | |||
| @@ -759,6 +759,19 @@ It is not recommended to set this variable permanently to anything but nil.") | |||
| 759 | (inhibit-file-name-operation operation)) | 759 | (inhibit-file-name-operation operation)) |
| 760 | (apply operation args))) | 760 | (apply operation args))) |
| 761 | 761 | ||
| 762 | ;;;###autoload | ||
| 763 | (defcustom auto-compression-mode nil | ||
| 764 | "Toggle automatic file compression and uncompression. | ||
| 765 | Setting this variable directly does not take effect; | ||
| 766 | use either \\[customize] or the function `auto-compression-mode'." | ||
| 767 | :set (lambda (symbol value) | ||
| 768 | (auto-compression-mode (or value 0))) | ||
| 769 | :initialize 'custom-initialize-default | ||
| 770 | :group 'jka-compr | ||
| 771 | :version "21.1" | ||
| 772 | :type 'boolean | ||
| 773 | :require 'jka-compr) | ||
| 774 | |||
| 762 | ;;;###autoload(defun auto-compression-mode (&optional arg) | 775 | ;;;###autoload(defun auto-compression-mode (&optional arg) |
| 763 | ;;;###autoload "\ | 776 | ;;;###autoload "\ |
| 764 | ;;;###autoloadToggle automatic file compression and uncompression. | 777 | ;;;###autoloadToggle automatic file compression and uncompression. |