[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any way to prevent window splits for a window or a major-mode
From: |
martin rudalics |
Subject: |
Re: Any way to prevent window splits for a window or a major-mode |
Date: |
Thu, 07 Dec 2017 10:27:29 +0100 |
>> `set-window-dedicated-p' (with a "d") is not needed. Another buffer may
>> appear in this window if and only if it has been set up to use the same
>> side and slot.
>
>
> Great.
>
> In the doc string for display-buffer-in-side-window, it says: "Unless
> ‘display-buffer-mark-dedicated’ is non-nil, softly
> dedicate the side window used to BUFFER."
>
> No one will know what 'softly dedicate' means. If it means what you said
> above, that should be explained in the doc string too.
It doesn't mean what I said above. Setting the window's dedicated flag
makes sure that no other action functions reuse that window.
I hopefully managed to clarify the doc-string now.
Many thanks for your careful reading of doc and doc-strings, martin