diff options
| -rw-r--r-- | etc/NEWS | 4 | ||||
| -rw-r--r-- | lisp/progmodes/hideshow.el | 4 |
2 files changed, 8 insertions, 0 deletions
| @@ -1547,6 +1547,10 @@ Use the INSIDE_EMACS environment variable instead. | |||
| 1547 | mode to send the same escape sequences that xterm does. This makes | 1547 | mode to send the same escape sequences that xterm does. This makes |
| 1548 | things like forward-word in readline work. | 1548 | things like forward-word in readline work. |
| 1549 | 1549 | ||
| 1550 | --- | ||
| 1551 | ** hideshow mode got four key bindings that are analogous to outline | ||
| 1552 | mode bindings: `C-c @ C-a', `C-c @ C-t', `C-c @ C-d', and `C-c @ C-e.' | ||
| 1553 | |||
| 1550 | +++ | 1554 | +++ |
| 1551 | ** `save-excursion' does not save&restore the mark any more. | 1555 | ** `save-excursion' does not save&restore the mark any more. |
| 1552 | Use `save-mark-and-excursion' if you want the old behavior. | 1556 | Use `save-mark-and-excursion' if you want the old behavior. |
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.") |