emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/window.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/window.el
Date: Sat, 23 Apr 2005 12:38:42 -0400

Index: emacs/lisp/window.el
diff -c emacs/lisp/window.el:1.99 emacs/lisp/window.el:1.100
*** emacs/lisp/window.el:1.99   Mon Mar 28 14:52:01 2005
--- emacs/lisp/window.el        Sat Apr 23 16:38:41 2005
***************
*** 29,34 ****
--- 29,43 ----
  
  ;;; Code:
  
+ (defvar window-size-fixed nil
+  "*Non-nil in a buffer means windows displaying the buffer are fixed-size.
+ If the value is`height', then only the window's height is fixed.
+ If the value is `width', then only the window's width is fixed.
+ Any other non-nil value fixes both the width and the height.
+ Emacs won't change the size of any window displaying that buffer,
+ unless you explicitly change the size, or Emacs has no other choice.")
+ (make-variable-buffer-local 'window-size-fixed)
+ 
  (defmacro save-selected-window (&rest body)
    "Execute BODY, then select the window that was selected before BODY.
  Also restore the selected window of each frame as it was at the start




reply via email to

[Prev in Thread] Current Thread [Next in Thread]