Mercurial > emacs
comparison lisp/textmodes/outline.el @ 21439:2280d06ab327
*** empty log message ***
author | Dan Nicolaescu <done@ece.arizona.edu> |
---|---|
date | Wed, 08 Apr 1998 19:38:37 +0000 |
parents | 7669480e827d |
children | 95ec24fc6d78 |
comparison
equal
deleted
inserted
replaced
21438:7669480e827d | 21439:2280d06ab327 |
---|---|
408 (let ((o (make-overlay (point) to))) | 408 (let ((o (make-overlay (point) to))) |
409 (overlay-put o 'invisible 'outline) | 409 (overlay-put o 'invisible 'outline) |
410 (overlay-put o 'isearch-open-invisible | 410 (overlay-put o 'isearch-open-invisible |
411 'outline-isearch-open-invisible))))) | 411 'outline-isearch-open-invisible))))) |
412 (run-hooks 'outline-view-change-hook)) | 412 (run-hooks 'outline-view-change-hook)) |
413 | |
414 | |
415 ;; Function to be set as an outline-isearch-open-invisible' property | |
416 ;; to the overlay that makes the outline invisible (see | |
417 ;; `outline-flag-region'). | |
418 (defun outline-isearch-open-invisible (overlay) | |
419 (save-excursion | |
420 (goto-char (overlay-start overlay)) | |
421 (show-entry))) | |
422 | |
413 | 423 |
414 ;; Exclude from the region BEG ... END all overlays | 424 ;; Exclude from the region BEG ... END all overlays |
415 ;; with a non-nil PROP property. | 425 ;; with a non-nil PROP property. |
416 ;; Exclude them by shrinking them to exclude BEG ... END, | 426 ;; Exclude them by shrinking them to exclude BEG ... END, |
417 ;; or even by splitting them if necessary. | 427 ;; or even by splitting them if necessary. |