Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Richard M. Stallman
198081c871
Fix previous change.
2005-06-25 14:03:53 +00:00
Richard M. Stallman
7db3c58f2c
(save-selected-window): Use save-current-buffer.
2005-06-25 14:03:27 +00:00
Juanma Barranquero
c62195fa74
(window-current-scroll-bars): Fix typos in docstring.
2005-06-10 00:57:02 +00:00
Juanma Barranquero
fd8529d0a1
(shrink-window-if-larger-than-buffer): Fix typo in docstring.
2005-06-09 14:04:18 +00:00
Juanma Barranquero
9fa87e0dbc
(window-size-fixed): Fix typo in docstring.
2005-06-09 09:17:17 +00:00
Juanma Barranquero
18fde8504f
(quit-window, shrink-window-if-larger-than-buffer): Doc fixes.
2005-05-24 08:48:48 +00:00
Richard M. Stallman
64da8b20e2
(window-size-fixed): New defvar.
2005-04-23 16:38:41 +00:00
Stefan Monnier
ba96f39200
(window-buffer-height): Use count-screen-lines.
2005-03-28 14:52:02 +00:00
Stefan Monnier
66c226bf5a
(handle-select-window): Don't switch window when we're in the minibuffer.
2005-01-20 14:23:23 +00:00
Kim F. Storm
7316f52cab
(window-buffer-height): Call compute-motion with nil width.
2004-08-02 15:20:18 +00:00
Luc Teirlinck
90dc192227
(save-selected-window, one-window-p)
...
(split-window-keep-point, split-window-vertically)
(split-window-horizontally): Doc fixes.
2004-07-11 00:56:17 +00:00
Richard M. Stallman
1c795a0e15
Comment change.
2004-05-29 14:33:28 +00:00
Richard M. Stallman
6b3b4dbbfc
(split-window-save-restore-data):
...
Don't update the data if OLD-INFO is nil.
2004-04-20 20:58:30 +00:00
Stefan Monnier
fc4d69e139
(window-safely-shrinkable-p): Don't change the buffer-list.
...
Don't allow shrink if there's a window on our right.
2004-02-09 00:56:25 +00:00
Kim F. Storm
22f9c48c82
(window-current-scroll-bars): New defun.
2003-09-24 22:55:42 +00:00
Richard M. Stallman
0f790c74e1
(kill-buffer-and-window): Remove `yes-or-no-p' so that
...
the function is less noisy. Now only `kill-buffer' can ask questions.
2003-09-12 00:52:08 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb
Trailing whitespace deleted.
2003-02-04 12:29:42 +00:00
Richard M. Stallman
991ce47378
(save-selected-window): Save and restore selected windows of all frames.
2002-12-23 17:57:12 +00:00
Stefan Monnier
4a4accf705
(split-window-save-restore-data): Use push and with-current-buffer.
...
(handle-select-window): Don't do anything if the window has
disappeared since the event was generated.
2002-08-15 00:34:04 +00:00
Pavel Janík
4e1a58d5f8
Update copyright.
2002-04-01 13:40:37 +00:00
Pavel Janík
aa8d51340b
(handle-select-window): New function.
2002-04-01 13:38:34 +00:00
Andreas Schwab
e1ff49ba1e
(balance-windows): Fix misplaced parenthesis.
2002-02-03 16:21:03 +00:00
Andreas Schwab
471af22c5f
(save-selected-window): Move macro before first use.
2002-02-03 15:35:39 +00:00
Richard M. Stallman
9df6e63856
(window-body-height): Handle minibuffer window specially.
...
Otherwise, don't return less than 1.
2002-01-21 08:55:32 +00:00
Richard M. Stallman
e58bff5990
(window-body-height): New function.
2002-01-18 05:42:23 +00:00
Richard M. Stallman
0d6c5d1849
(balance-windows): Use new PRESERVE-BEFORE arg
...
to enlarge-window. Use save-selected-window. Don't try
to resize windows that end at the bottom "level".
Retry changing the sizes until the windows get the desired sizes.
Discount the minibuffer when computing total height available.
2001-12-25 10:34:39 +00:00
Richard M. Stallman
f9fa0e8aea
(save-selected-window): No error if saved window is dead.
2001-11-26 10:09:56 +00:00
Gerd Moellmann
d4d986f24e
(get-window-with-predicate): Renamed from some-window.
...
(some-window): Make it an alias.
2001-09-07 11:29:48 +00:00
Gerd Moellmann
284b3043c0
Add Keywords header.
2001-09-04 12:54:14 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Gerd Moellmann
f92c5e7d08
(shrink-window-if-larger-than-buffer): Handle frame
...
parameter `(minibuffer . t)'.
2001-03-08 15:03:44 +00:00
Eli Zaretskii
119171dd3d
(fit-window-to-buffer, window-safely-shrinkable-p)
...
(shrink-window-if-larger-than-buffer): Doc fix.
2001-02-23 21:35:45 +00:00
Miles Bader
c595f69adf
(mode-line-window-height-fudge):
...
Function removed.
(height-affecting-face-attributes, mode-line-window-height-fudge):
Variables removed.
2000-12-15 01:11:04 +00:00
Miles Bader
a4c22453ea
(window-text-height): Function removed (now in C).
2000-12-11 07:31:08 +00:00
Miles Bader
df0677c365
(fit-window-to-buffer): Don't pass last argument to
...
pos-visible-in-window-p, now that its meaning is inverted.
2000-12-08 18:14:23 +00:00
Miles Bader
45450dd56d
(fit-window-to-buffer): Handle non-nil `truncate-lines'.
2000-12-01 08:11:55 +00:00
Stefan Monnier
fe7a0e7dfd
General comment and spacing fixes.
...
(save-selected-window): Use backquotes.
(window-safely-shrinkable-p): New function.
(shrink-window-if-larger-than-buffer): Use it.
2000-11-21 21:44:25 +00:00
Kenichi Handa
edb08287fb
(fit-window-to-buffer): Fix previous change.
2000-11-16 06:33:25 +00:00
Kenichi Handa
b1491763bb
(fit-window-to-buffer): Be sure to acquire at least
...
one text line even if the buffer is empty.
2000-11-16 06:15:55 +00:00
Miles Bader
88f0a1eb89
(fit-window-to-buffer): Handle windows without mode-lines.
...
Handle header-lines. Don't loop forever if we can't enlarge the
window anymore. Simplify a bit.
2000-11-14 12:58:47 +00:00
Kenichi Handa
87eb48b95e
(fit-window-to-buffer): Don't check
...
window-text-height. Assure that the last line is fully visible.
2000-11-14 11:46:01 +00:00
Kenichi Handa
2bd8a1db5e
(fit-window-to-buffer): Adjust point of the window buffer, not that of
...
the current buffer.
2000-10-24 10:52:22 +00:00
Miles Bader
3511cde8e7
(fit-window-to-buffer): Change defaulting of MAX-HEIGHT slightly.
2000-10-22 04:21:36 +00:00
Miles Bader
582b0985f5
(window-text-height): Don't expect minibuffers to have mode-lines.
2000-10-22 04:18:14 +00:00
Miles Bader
65e742bdea
(fit-window-to-buffer): New function.
...
(shrink-window-if-larger-than-buffer): Use it.
2000-10-21 05:38:11 +00:00
Miles Bader
38f99c2720
(set-window-text-height): Force window-min-height to 1.
2000-10-20 16:33:54 +00:00
Miles Bader
361691dc0d
(window-text-height, set-window-text-height): New functions.
...
(shrink-window-if-larger-than-buffer): Use `window-text-height'
instead of `window-height' & `mode-line-window-height-fudge'.
(mode-line-window-height-fudge): Add FACE parameter.
2000-10-20 15:16:46 +00:00