diff options
| author | Richard M. Stallman | 1995-11-11 20:29:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-11 20:29:31 +0000 |
| commit | f4454a146791ccf47c3082a79575602a272ee4df (patch) | |
| tree | 482cc404914119472847e89fd82c6b114b8222dd | |
| parent | d1be9f0f0df6bcefbfa9c874995c067c2f0100c4 (diff) | |
| download | emacs-f4454a146791ccf47c3082a79575602a272ee4df.tar.gz emacs-f4454a146791ccf47c3082a79575602a272ee4df.zip | |
(auto-compression-mode): Make arg optional.
| -rw-r--r-- | lisp/jka-compr.el | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index 934fc0dc89c..0de44c5bbed 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el | |||
| @@ -5,6 +5,22 @@ | |||
| 5 | ;; Author: jka@ece.cmu.edu (Jay K. Adams) | 5 | ;; Author: jka@ece.cmu.edu (Jay K. Adams) |
| 6 | ;; Keywords: data | 6 | ;; Keywords: data |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | ||
| 9 | |||
| 10 | ;; GNU Emacs is free software; you can redistribute it and/or modify | ||
| 11 | ;; it under the terms of the GNU General Public License as published by | ||
| 12 | ;; the Free Software Foundation; either version 2, or (at your option) | ||
| 13 | ;; any later version. | ||
| 14 | |||
| 15 | ;; GNU Emacs is distributed in the hope that it will be useful, | ||
| 16 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | ;; GNU General Public License for more details. | ||
| 19 | |||
| 20 | ;; You should have received a copy of the GNU General Public License | ||
| 21 | ;; along with GNU Emacs; see the file COPYING. If not, write to | ||
| 22 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 23 | |||
| 8 | ;;; Commentary: | 24 | ;;; Commentary: |
| 9 | 25 | ||
| 10 | ;;; This package implements low-level support for reading, writing, | 26 | ;;; This package implements low-level support for reading, writing, |
| @@ -669,7 +685,7 @@ There should be no more than seven characters after the final `/'") | |||
| 669 | (apply operation args))) | 685 | (apply operation args))) |
| 670 | 686 | ||
| 671 | ;;;###autoload | 687 | ;;;###autoload |
| 672 | (defun auto-compression-mode (arg) | 688 | (defun auto-compression-mode (&optional arg) |
| 673 | "Toggle automatic file compression and uncompression. | 689 | "Toggle automatic file compression and uncompression. |
| 674 | With prefix argument ARG, turn auto compression on if positive, else off. | 690 | With prefix argument ARG, turn auto compression on if positive, else off. |
| 675 | Returns the new status of auto compression (non-nil means on)." | 691 | Returns the new status of auto compression (non-nil means on)." |