[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unsplittable window question.
From: |
Ergus |
Subject: |
Unsplittable window question. |
Date: |
Sat, 11 Mar 2023 11:12:32 +0100 |
Hi:
I am experimenting with some off the windows/frame features. And I added
these two lines to my config:
```
(defconst my/display-buffer-at-bottom
'((display-buffer-reuse-window display-buffer-at-bottom)
(unsplittable . t)
(dedicated . t)
(window-height . 0.3)))
(add-to-list 'display-buffer-alist `("*Occur*" . ,my/display-buffer-at-bottom))
```
With this Occur opens in the bottom as expected, but the
(unsplittable . t) seems not to have any effect. Emacs splits the Occur
window like any other and:
(window-parameter (get-buffer-window "*Occur*") 'unsplittable)
returns nil.
The debugger shows the call to display-buffer-at-bottom passing the
alist as a parameter.
What I am doing wrong?
Thanks in advance,
Ergus
- Unsplittable window question.,
Ergus <=