From: Richard M. Stallman Date: Thu, 29 Jun 1995 22:36:57 +0000 (+0000) Subject: (archive-mode): Add autoload cookie. X-Git-Tag: emacs-19.34~3422 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9199a670d93aa4eadfc3be31a40462eda92091ba;p=emacs.git (archive-mode): Add autoload cookie. --- diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index 8cc798e41a6..a6ba200e44d 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el @@ -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 @@ if optional second argument NOERROR is non-nil." ;; ------------------------------------------------------------------------- ;; 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.