diff options
| author | Richard M. Stallman | 1995-06-29 22:36:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-29 22:36:57 +0000 |
| commit | 9199a670d93aa4eadfc3be31a40462eda92091ba (patch) | |
| tree | ca3f0b256c5b4267b0f393f256f37f39583002f8 | |
| parent | c8c5bd244729f6e6b52e35839115fda0d85564fc (diff) | |
| download | emacs-9199a670d93aa4eadfc3be31a40462eda92091ba.tar.gz emacs-9199a670d93aa4eadfc3be31a40462eda92091ba.zip | |
(archive-mode): Add autoload cookie.
| -rw-r--r-- | lisp/arc-mode.el | 11 |
1 files changed, 1 insertions, 10 deletions
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 @@ | |||
| 87 | ;; Each member header points to the next. The archive is | 87 | ;; Each member header points to the next. The archive is |
| 88 | ;; terminated by a bogus header with a zero next link. | 88 | ;; terminated by a bogus header with a zero next link. |
| 89 | ;; ------------------------------------- | 89 | ;; ------------------------------------- |
| 90 | ;; SETUP: .emacs fodder: | ||
| 91 | ;; | ||
| 92 | ;; (setq auto-mode-alist | ||
| 93 | ;; (cons '("\\.\\(arc\\|zip\\|lzh\\|zoo\\)\\'" . archive-mode) | ||
| 94 | ;; auto-mode-alist)) | ||
| 95 | ;; (autoload 'archive-mode "arc-mode" "Major mode for editing archives." t) | ||
| 96 | ;; | ||
| 97 | ;; Furthermore, for msdog, you need to make sure that the archives are loaded | ||
| 98 | ;; as binary files. For arc/zip/pak/lzh/zoo this is the default. | ||
| 99 | ;; ------------------------------------- | ||
| 100 | ;; HOOKS: `foo' means one the the supported archive types. | 90 | ;; HOOKS: `foo' means one the the supported archive types. |
| 101 | ;; | 91 | ;; |
| 102 | ;; archive-mode-hook | 92 | ;; archive-mode-hook |
| @@ -405,6 +395,7 @@ if optional second argument NOERROR is non-nil." | |||
| 405 | ;; ------------------------------------------------------------------------- | 395 | ;; ------------------------------------------------------------------------- |
| 406 | ;; Section: the mode definition | 396 | ;; Section: the mode definition |
| 407 | 397 | ||
| 398 | ;;;###autoload | ||
| 408 | (defun archive-mode (&optional force) | 399 | (defun archive-mode (&optional force) |
| 409 | "Major mode for viewing an archive file as a dired-like listing of its | 400 | "Major mode for viewing an archive file as a dired-like listing of its |
| 410 | contents. You can move around using the usual cursor motion commands. | 401 | contents. You can move around using the usual cursor motion commands. |