diff options
| author | Dan Nicolaescu | 1998-04-08 19:38:37 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 1998-04-08 19:38:37 +0000 |
| commit | 8d4d1e65d5200f7d24685d7c4ed3d30ebc92b953 (patch) | |
| tree | 7bab58fbdc94aba0dadb06ab3cde62bc70f23958 | |
| parent | f35605f3d3eaee2aa6185fd70279763b4bead678 (diff) | |
| download | emacs-8d4d1e65d5200f7d24685d7c4ed3d30ebc92b953.tar.gz emacs-8d4d1e65d5200f7d24685d7c4ed3d30ebc92b953.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/textmodes/outline.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el index 1967d3d9649..80e4f5c5d76 100644 --- a/lisp/textmodes/outline.el +++ b/lisp/textmodes/outline.el | |||
| @@ -411,6 +411,16 @@ If FLAG is nil then text is shown, while if FLAG is t the text is hidden." | |||
| 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 | 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 | |||
| 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, |