diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-01-19 17:51:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-01-19 17:51:38 +0000 |
commit | 73903641d95ea0cc2d9c926c367f31a7f7abd516 (patch) | |
tree | e163fdf722db736759423a271fd088ab06a401a0 /lisp/outline.el | |
parent | 812dd5dbec2d73fc3da6f4627d90651993b79a86 (diff) | |
download | emacs-73903641d95ea0cc2d9c926c367f31a7f7abd516.tar.gz |
(hide-leaves): Don't call outline-end-of-heading.
Fixes bug reported in Nov 2005.
Diffstat (limited to 'lisp/outline.el')
-rw-r--r-- | lisp/outline.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/outline.el b/lisp/outline.el index 8a05aaf0cd9..8baa9f102ea 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -803,11 +803,11 @@ Show the heading too, if it is currently invisible." (outline-flag-subtree t)) (defun hide-leaves () - "Hide all body after this heading at deeper levels." + "Hide the body after this heading and at deeper levels." (interactive) (save-excursion (outline-back-to-heading) - (outline-end-of-heading) +;; (outline-end-of-heading) (hide-region-body (point) (progn (outline-end-of-subtree) (point))))) (defun show-subtree () |