Mercurial > emacs
diff lisp/outline.el @ 68269:4747977f1afa
(hide-leaves): Don't call outline-end-of-heading.
Fixes bug reported in Nov 2005.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 19 Jan 2006 17:51:38 +0000 |
parents | 6b4c115f4d14 |
children | fae5d0cc2b1d |
line wrap: on
line diff
--- a/lisp/outline.el Thu Jan 19 17:50:42 2006 +0000 +++ b/lisp/outline.el Thu Jan 19 17:51:38 2006 +0000 @@ -803,11 +803,11 @@ (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 ()