diff options
author | Martin Rudalics <rudalics@gmx.at> | 2008-05-01 10:14:44 +0000 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2008-05-01 10:14:44 +0000 |
commit | 92f774f36eca32759f97381e8502444aefb59940 (patch) | |
tree | bde242c4dd763c4681c450c91477400e55784195 /src | |
parent | f8748f0fa04855a4dc0be81f7a5d05e4d7cdf730 (diff) | |
download | emacs-92f774f36eca32759f97381e8502444aefb59940.tar.gz |
(struct window): Replace field too_small_ok by field
resize_proportionally.
Diffstat (limited to 'src')
-rw-r--r-- | src/window.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/window.h b/src/window.h index b2c62fde01f..b0f0dd24fa1 100644 --- a/src/window.h +++ b/src/window.h @@ -222,8 +222,9 @@ struct window /* If redisplay in this window goes beyond this buffer position, must run the redisplay-end-trigger-hook. */ Lisp_Object redisplay_end_trigger; - /* Non-nil means don't delete this window for becoming "too small". */ - Lisp_Object too_small_ok; + /* Non-nil means resizing windows will attempt to resize this window + proportionally. */ + Lisp_Object resize_proportionally; /* Original window height and top before mini-window was enlarged. */ @@ -337,20 +338,18 @@ struct window #define WINDOW_FRAME_LINE_HEIGHT(W) \ (FRAME_LINE_HEIGHT (WINDOW_XFRAME ((W)))) - -/* Return the frame width in canonical column units. +/* Return the width of window W in canonical column units. This includes scroll bars and fringes. */ #define WINDOW_TOTAL_COLS(W) \ (XFASTINT ((W)->total_cols)) -/* Return the frame height in canonical line units. +/* Return the height of window W in canonical line units. This includes header and mode lines, if any. */ #define WINDOW_TOTAL_LINES(W) \ (XFASTINT ((W)->total_lines)) - /* Return the total pixel width of window W. */ #define WINDOW_TOTAL_WIDTH(W) \ |