Emacs:修复某些窗口的高度

Eis*_*sen 5 emacs

有没有办法修复某个窗口的高度,就像使用compilation-window-height的*compilation* buffers一样 ?

Tör*_*bor 10

window-size-fixed缓冲局部变量.如果将其值设置为heightt,则该窗口将获得固定高度.

例如

M-x set-variable window-size-fixed height
Run Code Online (Sandbox Code Playgroud)