Fix documentation of Outline cycling commands
* lisp/outline.el (outline-mode-map): Fix wording of a comment. * doc/emacs/text.texi (Outline Visibility): Fix wording and markup of a recently added paragraph. Improve indexing. * etc/NEWS: Fix whitespace of a recently added entry.
This commit is contained in:
parent
60845174eb
commit
993116eec9
3 changed files with 9 additions and 8 deletions
|
|
@ -1207,15 +1207,16 @@ everything except the top @var{n} levels of heading lines. Note that
|
||||||
it completely reveals all the @var{n} top levels and the body lines
|
it completely reveals all the @var{n} top levels and the body lines
|
||||||
before the first heading.
|
before the first heading.
|
||||||
|
|
||||||
|
@cindex cycle visibility, in Outline mode
|
||||||
@findex outline-cycle
|
@findex outline-cycle
|
||||||
@findex outline-cycle-buffer
|
@findex outline-cycle-buffer
|
||||||
Outline also provides two convenience commands to cycle the
|
Outline also provides two convenience commands to cycle the
|
||||||
visibility of each section and the whole buffer. Typing @kbd{TAB} on
|
visibility of each section and the whole buffer. Typing
|
||||||
a heading invokes @code{outline-cycle}, which cycles the current
|
@kbd{@key{TAB}} (@code{outline-cycle}) on a heading cycles the current
|
||||||
section between "hide all", "subheadings", and "show all" state.
|
section between ``hide all'', ``subheadings'', and ``show all''
|
||||||
Typing @kbd{S-TAB} invokes @code{outline-cycle-buffer}, which cycles
|
states. Typing @kbd{S-@key{TAB}} (@code{outline-cycle-buffer}) cycles
|
||||||
the whole buffer between "only top-level headings", "all headings and
|
the whole buffer between ``only top-level headings'', ``all headings
|
||||||
subheadings", and "show all" states.
|
and subheadings'', and ``show all'' states.
|
||||||
|
|
||||||
@anchor{Outline Search}
|
@anchor{Outline Search}
|
||||||
@findex reveal-mode
|
@findex reveal-mode
|
||||||
|
|
|
||||||
2
etc/NEWS
2
etc/NEWS
|
|
@ -238,7 +238,7 @@ trying to be non-destructive.
|
||||||
+++
|
+++
|
||||||
*** New commands to cycle heading visibility.
|
*** New commands to cycle heading visibility.
|
||||||
Typing 'TAB' on a heading cycles the current section between "hide
|
Typing 'TAB' on a heading cycles the current section between "hide
|
||||||
all", "subheadings", and "show all" state. Typing 'S-TAB' anywhere in
|
all", "subheadings", and "show all" state. Typing 'S-TAB' anywhere in
|
||||||
the buffer cycles the whole buffer between "only top-level headings",
|
the buffer cycles the whole buffer between "only top-level headings",
|
||||||
"all headings and subheadings", and "show all" states.
|
"all headings and subheadings", and "show all" states.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,7 @@ in the file it applies to.")
|
||||||
(let ((map (make-sparse-keymap)))
|
(let ((map (make-sparse-keymap)))
|
||||||
(define-key map "\C-c" outline-mode-prefix-map)
|
(define-key map "\C-c" outline-mode-prefix-map)
|
||||||
(define-key map [menu-bar] outline-mode-menu-bar-map)
|
(define-key map [menu-bar] outline-mode-menu-bar-map)
|
||||||
;; Only takes effect if the point is on a heading.
|
;; Only takes effect if point is on a heading.
|
||||||
(define-key map (kbd "TAB")
|
(define-key map (kbd "TAB")
|
||||||
`(menu-item "" outline-cycle
|
`(menu-item "" outline-cycle
|
||||||
:filter ,(lambda (cmd)
|
:filter ,(lambda (cmd)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue