Re: New package `outline-occur'

Roi Martin <[email protected]> Wed, 29 Jul 2026 16:35:22 +0200
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
martin rudalics <[email protected]> writes:

> How would this be used when popping up the *Occur* buffer?  Like
>
> (let* ((display-buffer-bound-alist
> 	'(("\\*Occur\\*" (display-buffer-at-bottom)
> 	   (window-height . fit-window-to-buffer))))
>         ((occur-hook (lambda () (pop-to-buffer "*Occur*")))))
>    ...

Do we need the `pop-to-buffer' call if we can customize the behavior of
`display-buffer' (called by `occur-1') by let-binding
`display-buffer-bound-alist'?

        Roi