diff options
author | Susanne Oberhauser <froh@suse.com> | 2016-02-24 15:13:41 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-24 15:13:41 +1100 |
commit | bed990a747b0cc6d9d91ca08afc84473642f8cb3 (patch) | |
tree | 9097bb19d43989d9d92ddf9b1f24d8237c057140 /lisp/progmodes/hideshow.el | |
parent | 3c36fc13c9eb78af073008d2b5f0d8a295110df1 (diff) | |
download | emacs-bed990a747b0cc6d9d91ca08afc84473642f8cb3.tar.gz |
Add hideshow bindings analogous to outline mode
* lisp/progmodes/hideshow.el (hs-minor-mode-map): Add bindings
analogous to outline mode bindings (bug#15324).
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r-- | lisp/progmodes/hideshow.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index e5460009a56..cabdf45458a 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el @@ -351,6 +351,10 @@ Use the command `hs-minor-mode' to toggle or set this variable.") (define-key map "\C-c@\C-\M-s" 'hs-show-all) (define-key map "\C-c@\C-l" 'hs-hide-level) (define-key map "\C-c@\C-c" 'hs-toggle-hiding) + (define-key map "\C-c@\C-a" 'hs-show-all) + (define-key map "\C-c@\C-t" 'hs-hide-all) + (define-key map "\C-c@\C-d" 'hs-hide-block) + (define-key map "\C-c@\C-e" 'hs-toggle-hiding) (define-key map [(shift mouse-2)] 'hs-mouse-toggle-hiding) map) "Keymap for hideshow minor mode.") |