changeset 12437:c3597b66e4bf

(archive-mode): Add autoload cookie.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 Jun 1995 22:36:57 +0000
parents ffd777dc7d29
children de20177f1cb2
files lisp/arc-mode.el
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/arc-mode.el	Thu Jun 29 22:19:13 1995 +0000
+++ b/lisp/arc-mode.el	Thu Jun 29 22:36:57 1995 +0000
@@ -87,16 +87,6 @@
 ;;             Each member header points to the next.  The archive is
 ;;             terminated by a bogus header with a zero next link.
 ;; -------------------------------------
-;; SETUP: .emacs fodder:
-;;
-;; (setq auto-mode-alist
-;;       (cons '("\\.\\(arc\\|zip\\|lzh\\|zoo\\)\\'" . archive-mode)
-;;             auto-mode-alist))
-;; (autoload 'archive-mode "arc-mode" "Major mode for editing archives." t)
-;;
-;; Furthermore, for msdog, you need to make sure that the archives are loaded
-;; as binary files.  For arc/zip/pak/lzh/zoo this is the default.
-;; -------------------------------------
 ;; HOOKS: `foo' means one the the supported archive types.
 ;;
 ;; archive-mode-hook
@@ -405,6 +395,7 @@
 ;; -------------------------------------------------------------------------
 ;; Section: the mode definition
 
+;;;###autoload
 (defun archive-mode (&optional force)
   "Major mode for viewing an archive file as a dired-like listing of its
 contents.  You can move around using the usual cursor motion commands.