1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(hide-other): Call outline-up-heading with INVISIBLE-OK=t.

This commit is contained in:
Richard M. Stallman 2004-10-16 15:33:59 +00:00
parent 1fc075d8b7
commit 6e32922db2

View file

@ -808,7 +808,7 @@ Show the heading too, if it is currently invisible."
(save-excursion
(outline-back-to-heading t)
(show-entry)
(while (condition-case nil (progn (outline-up-heading 1) (not (bobp)))
(while (condition-case nil (progn (outline-up-heading 1 t) (not (bobp)))
(error nil))
(outline-flag-region (1- (point))
(save-excursion (forward-line 1) (point))