Commit f35605f3 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

*** empty log message ***

parent 35dd3c55
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment