changeset 13514:0e46e8075a1d

(auto-compression-mode): Make arg optional.
author Richard M. Stallman <rms@gnu.org>
date Sat, 11 Nov 1995 20:29:31 +0000
parents 907544cb2c7d
children b7ad3e888238
files lisp/jka-compr.el
diffstat 1 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/jka-compr.el	Sat Nov 11 20:28:26 1995 +0000
+++ b/lisp/jka-compr.el	Sat Nov 11 20:29:31 1995 +0000
@@ -5,6 +5,22 @@
 ;; Author: jka@ece.cmu.edu (Jay K. Adams)
 ;; Keywords: data
 
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING.  If not, write to
+;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+
 ;;; Commentary: 
 
 ;;; This package implements low-level support for reading, writing,
@@ -669,7 +685,7 @@
     (apply operation args)))
 
 ;;;###autoload
-(defun auto-compression-mode (arg)
+(defun auto-compression-mode (&optional 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)."