diff options
| author | Susanne Oberhauser | 2016-02-24 15:13:41 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-24 15:13:41 +1100 |
| commit | bed990a747b0cc6d9d91ca08afc84473642f8cb3 (patch) | |
| tree | 9097bb19d43989d9d92ddf9b1f24d8237c057140 /lisp | |
| parent | 3c36fc13c9eb78af073008d2b5f0d8a295110df1 (diff) | |
| download | emacs-bed990a747b0cc6d9d91ca08afc84473642f8cb3.tar.gz emacs-bed990a747b0cc6d9d91ca08afc84473642f8cb3.zip | |
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')
| -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.") | |||
| 351 | (define-key map "\C-c@\C-\M-s" 'hs-show-all) | 351 | (define-key map "\C-c@\C-\M-s" 'hs-show-all) |
| 352 | (define-key map "\C-c@\C-l" 'hs-hide-level) | 352 | (define-key map "\C-c@\C-l" 'hs-hide-level) |
| 353 | (define-key map "\C-c@\C-c" 'hs-toggle-hiding) | 353 | (define-key map "\C-c@\C-c" 'hs-toggle-hiding) |
| 354 | (define-key map "\C-c@\C-a" 'hs-show-all) | ||
| 355 | (define-key map "\C-c@\C-t" 'hs-hide-all) | ||
| 356 | (define-key map "\C-c@\C-d" 'hs-hide-block) | ||
| 357 | (define-key map "\C-c@\C-e" 'hs-toggle-hiding) | ||
| 354 | (define-key map [(shift mouse-2)] 'hs-mouse-toggle-hiding) | 358 | (define-key map [(shift mouse-2)] 'hs-mouse-toggle-hiding) |
| 355 | map) | 359 | map) |
| 356 | "Keymap for hideshow minor mode.") | 360 | "Keymap for hideshow minor mode.") |