How do I make this Emacs frame keep its buffer and not get resized?

前端 未结 4 1931
天涯浪人
天涯浪人 2020-12-03 02:59

My Emacs frame looks like this:

+---------------------------+
|             |             |
|             |             |
|             |      B      |
|             


        
4条回答
  •  时光说笑
    2020-12-03 03:32

    This one also works fine (for emacs 24) https://lists.gnu.org/archive/html/help-gnu-emacs/2007-05/msg00975.html

    (define-minor-mode sticky-buffer-mode
      "Make the current window always display this buffer."
      nil " sticky" nil
      (set-window-dedicated-p (selected-window) sticky-buffer-mode))
    

提交回复
热议问题