Re: New package `outline-occur'
Stefan Monnier <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
>> `display-buffer-overriding-action` is not appropriate for defaults >> (since, as the name implies, it *overrides* other settings, incuding >> user settings). >> >> Instead, pass the default ACTION directly to `display/pop-to-buffer`. > > The problem is that the call '(display-buffer occur-buf)' > is deeply inside 'occur-1'. We could add a category to this call > for better customizability. > > But still we need a better way for a command to override the > default behavior (popup or not) using some let-bound variable. You can let-bind `display-buffer-base-action`. We've discussed this a few times in the past already, since `display-buffer-base-action` is also a custom var and thus it's best not to let-bind it. === Stefan