From: Richard M. Stallman Date: Sun, 24 Sep 1995 03:59:02 +0000 (+0000) Subject: (auto-compression-mode): Add autoload cookie. X-Git-Tag: emacs-19.34~2793 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61793fbf5d8248c727ad513f8eecaccb64ab7340;p=emacs.git (auto-compression-mode): Add autoload cookie. Renamed from toggle-auto-compression. (toggle-auto-compression): Define as alias. --- diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index 2b1f435fe6c..c3804b267ec 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el @@ -667,8 +667,9 @@ There should be no more than seven characters after the final `/'") (inhibit-file-name-operation operation)) (apply operation args))) -(defun toggle-auto-compression (arg) - "Toggle automatic file compression and decompression. +;;;###autoload +(defun auto-compression-mode (arg) + "Toggle automatic file compression and uncompression. With prefix argument ARG, turn auto compression on if positive, else off. Returns the new status of auto compression (non-nil means on)." (interactive "P") @@ -695,7 +696,7 @@ Returns the new status of auto compression (non-nil means on)." (message "Automatic file (de)compression is now OFF."))) flag)) - +(defalias 'toggle-auto-compression 'auto-compression-mode) (defun jka-compr-build-file-regexp () (concat