From f35605f3d3eaee2aa6185fd70279763b4bead678 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Wed, 8 Apr 1998 19:29:35 +0000 Subject: [PATCH] *** empty log message *** --- lisp/textmodes/outline.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el index 07b704cc2df..1967d3d9649 100644 --- a/lisp/textmodes/outline.el +++ b/lisp/textmodes/outline.el @@ -405,9 +405,10 @@ If FLAG is nil then text is shown, while if FLAG is t the text is hidden." (end-of-line) (outline-discard-overlays (point) to 'outline) (if flag - (let ((o (make-overlay (point) to))) - (overlay-put o 'invisible 'outline) - (overlay-put o 'outline t))))) + (let ((o (make-overlay (point) to))) + (overlay-put o 'invisible 'outline) + (overlay-put o 'isearch-open-invisible + 'outline-isearch-open-invisible))))) (run-hooks 'outline-view-change-hook)) ;; Exclude from the region BEG ... END all overlays -- 2.39.2