1967 |
@cindex saving window information |
@cindex saving window information |
1968 |
|
|
1969 |
A @dfn{window configuration} records the entire layout of one |
A @dfn{window configuration} records the entire layout of one |
1970 |
frame---all windows, their sizes, which buffers they contain, what part |
frame---all windows, their sizes, which buffers they contain, what |
1971 |
of each buffer is displayed, and the values of point and the mark. You |
part of each buffer is displayed, and the values of point and the |
1972 |
can bring back an entire previous layout by restoring a window |
mark. It also includes the values of @code{window-min-height}, |
1973 |
configuration previously saved. |
@code{window-min-width} and @code{minibuffer-scroll-window}. An |
1974 |
|
exception is made for point in the selected window for the current |
1975 |
|
buffer; its value is not saved in the window configuration. |
1976 |
|
|
1977 |
If you want to record all frames instead of just one, use a frame |
You can bring back an entire previous layout by restoring a window |
1978 |
configuration instead of a window configuration. @xref{Frame |
configuration previously saved. If you want to record all frames |
1979 |
Configurations}. |
instead of just one, use a frame configuration instead of a window |
1980 |
|
configuration. @xref{Frame Configurations}. |
1981 |
|
|
1982 |
@defun current-window-configuration &optional frame |
@defun current-window-configuration &optional frame |
1983 |
This function returns a new object representing @var{frame}'s |
This function returns a new object representing @var{frame}'s current |
1984 |
current window configuration, including the number of windows, their |
window configuration. If @var{frame} is omitted, the selected frame |
1985 |
sizes and current buffers, which window is the selected window, and for |
is used. |
|
each window the displayed buffer, the display-start position, and the |
|
|
positions of point and the mark. It also includes the values of |
|
|
@code{window-min-height}, @code{window-min-width} and |
|
|
@code{minibuffer-scroll-window}. An exception is made for point in the |
|
|
current buffer, whose value is not saved. |
|
|
|
|
|
If @var{frame} is omitted, the selected frame is used. |
|
1986 |
@end defun |
@end defun |
1987 |
|
|
1988 |
@defun set-window-configuration configuration |
@defun set-window-configuration configuration |