From: Dan Nicolaescu Date: Wed, 8 Apr 1998 19:29:35 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-20.3~1636 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f35605f3d3eaee2aa6185fd70279763b4bead678;p=emacs.git *** empty log message *** --- 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