# HG changeset patch # User Richard M. Stallman # Date 804465417 0 # Node ID c3597b66e4bfad439db3166bdb6fc3790e67d12c # Parent ffd777dc7d29f825be4f603821bcec989824eb22 (archive-mode): Add autoload cookie. diff -r ffd777dc7d29 -r c3597b66e4bf lisp/arc-mode.el --- 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.