[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with display-buffer-alist
From: |
Philip Kaludercic |
Subject: |
Re: Help with display-buffer-alist |
Date: |
Thu, 21 Apr 2022 07:26:57 +0000 |
Juri Linkov <juri@linkov.net> writes:
>> making the `add-to-list' call
>>
>> (add-to-list 'display-buffer-alist
>> '("*Occur*"
>> display-buffer-at-bottom
>> (window-height . 10)))
>
> This works fine.
>
>> Or alternatively if you are tracking the master brach
>>
>> (add-to-list 'display-buffer-alist
>> '((major-mode occur-mode)
^
there is a typo here, it should be
(major-mode . occur-mode)
>> display-buffer-at-bottom
>> (window-height . 10)))
>>
>> which uses the new buffer-match-p system.
>
> But this has no effect when using the nice new buffer-match-p system.
> Maybe something still needs fixing?
--
Philip Kaludercic