diff options
author | Juri Linkov <juri@linkov.net> | 2021-03-03 21:12:13 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2021-03-03 21:12:13 +0200 |
commit | 6458e16f3381cbd076316d4f228369e31a328cc2 (patch) | |
tree | 42fd0f8ca4c4522ba3ee510beffd0187cbbca89a /test/lisp/emacs-lisp/derived-tests.el | |
parent | 356636c6a1ebba3e95d0e6609ae0401992008ccf (diff) | |
download | emacs-6458e16f3381cbd076316d4f228369e31a328cc2.tar.gz emacs-6458e16f3381cbd076316d4f228369e31a328cc2.tar.bz2 emacs-6458e16f3381cbd076316d4f228369e31a328cc2.zip |
New mode outline-cycle-minor-mode with Orgmode-like TAB cycling on headings
* lisp/outline.el (outline-mode-cycle-map): New keymap from outline-mode-map.
(outline-mode-map): Inherit from outline-mode-cycle-map.
(outline-font-lock-keywords): Append keymap and face depending on
'outline-minor-mode-cycle' and 'outline-minor-mode-highlight'.
(outline-minor-mode-cycle, outline-minor-mode-highlight): New variables.
(outline-minor-mode-highlight-buffer): New function.
(outline-minor-mode): Handle 'outline-minor-mode-cycle' and
'outline-minor-mode-highlight'.
(outline-cycle-minor-mode, outline-cycle-highlight-minor-mode):
New minor modes (bug#45147).
* etc/compilation.txt:
* etc/grep.txt:
Enable outline-cycle-highlight-minor-mode.
Diffstat (limited to 'test/lisp/emacs-lisp/derived-tests.el')
0 files changed, 0 insertions, 0 deletions