Re: New package `outline-occur'
martin rudalics <[email protected]> Wed, 29 Jul 2026 18:53:21 +0200
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
>> 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'?
Who would display the "*Occur*" buffer then? I'm not familiar with this.
martin