changeset 13067:fef2a9095f0c

(auto-compression-mode): Add autoload cookie. Renamed from toggle-auto-compression. (toggle-auto-compression): Define as alias.
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 Sep 1995 03:59:02 +0000
parents 9caf0cd95acf
children 9cc4392719e3
files lisp/jka-compr.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/jka-compr.el	Fri Sep 22 21:51:21 1995 +0000
+++ b/lisp/jka-compr.el	Sun Sep 24 03:59:02 1995 +0000
@@ -667,8 +667,9 @@
 	(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 @@
 	   (message "Automatic file (de)compression is now OFF.")))
 
     flag))
-
+(defalias 'toggle-auto-compression 'auto-compression-mode)
 
 (defun jka-compr-build-file-regexp ()
   (concat