Mercurial > emacs
comparison lisp/textmodes/outline.el @ 17688:b02bb31c98b0
(outline-mode): Autoload cookie added.
(outline-minor-mode): Likewise.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 07 May 1997 03:57:01 +0000 |
parents | e6d5322b810c |
children | 3fa9da85b3ea |
comparison
equal
deleted
inserted
replaced
17687:e6d5322b810c | 17688:b02bb31c98b0 |
---|---|
161 "Additional expressions to highlight in Outline mode.") | 161 "Additional expressions to highlight in Outline mode.") |
162 | 162 |
163 (defvar outline-view-change-hook nil | 163 (defvar outline-view-change-hook nil |
164 "Normal hook to be run after outline visibility changes.") | 164 "Normal hook to be run after outline visibility changes.") |
165 | 165 |
166 ;;;autoload | 166 ;;;###autoload |
167 (defun outline-mode () | 167 (defun outline-mode () |
168 "Set major mode for editing outlines with selective display. | 168 "Set major mode for editing outlines with selective display. |
169 Headings are lines which start with asterisks: one for major headings, | 169 Headings are lines which start with asterisks: one for major headings, |
170 two for subheadings, etc. Lines not starting with asterisks are body lines. | 170 two for subheadings, etc. Lines not starting with asterisks are body lines. |
171 | 171 |
249 (or (assq 'outline-minor-mode minor-mode-map-alist) | 249 (or (assq 'outline-minor-mode minor-mode-map-alist) |
250 (setq minor-mode-map-alist | 250 (setq minor-mode-map-alist |
251 (cons (cons 'outline-minor-mode outline-minor-mode-map) | 251 (cons (cons 'outline-minor-mode outline-minor-mode-map) |
252 minor-mode-map-alist))) | 252 minor-mode-map-alist))) |
253 | 253 |
254 ;;;autoload | 254 ;;;###autoload |
255 (defun outline-minor-mode (&optional arg) | 255 (defun outline-minor-mode (&optional arg) |
256 "Toggle Outline minor mode. | 256 "Toggle Outline minor mode. |
257 With arg, turn Outline minor mode on if arg is positive, off otherwise. | 257 With arg, turn Outline minor mode on if arg is positive, off otherwise. |
258 See the command `outline-mode' for more information on this mode." | 258 See the command `outline-mode' for more information on this mode." |
259 (interactive "P") | 259 (interactive "P") |