diff options
| author | Miles Bader | 2006-06-07 18:05:10 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-06-07 18:05:10 +0000 |
| commit | b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb (patch) | |
| tree | de3804210a8cd955e0d3b9abc15679480930bc82 /src/window.c | |
| parent | 885b7d0991bd4b4b8f4bd1d3cd21c18a697bbce2 (diff) | |
| parent | 26c9afc3239e18b03537faaea33e3e82e28099e6 (diff) | |
| download | emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.gz emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 285-296)
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: admin/FOR-RELEASE: Update refcard section.
* gnus--rel--5.10 (patch 102-104)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/window.c b/src/window.c index 1abeec92367..59c223b4a8f 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3778,7 +3778,9 @@ SIZE includes that window's scroll bar, or the divider column to its right. | |||
| 3778 | Interactively, all arguments are nil. | 3778 | Interactively, all arguments are nil. |
| 3779 | 3779 | ||
| 3780 | Returns the newly created window (which is the lower or rightmost one). | 3780 | Returns the newly created window (which is the lower or rightmost one). |
| 3781 | The upper or leftmost window is the original one and remains selected. | 3781 | The upper or leftmost window is the original one, and remains selected |
| 3782 | if it was selected before. | ||
| 3783 | |||
| 3782 | See Info node `(elisp)Splitting Windows' for more details and examples.*/) | 3784 | See Info node `(elisp)Splitting Windows' for more details and examples.*/) |
| 3783 | (window, size, horflag) | 3785 | (window, size, horflag) |
| 3784 | Lisp_Object window, size, horflag; | 3786 | Lisp_Object window, size, horflag; |
| @@ -5794,6 +5796,7 @@ struct saved_window | |||
| 5794 | Lisp_Object left_margin_cols, right_margin_cols; | 5796 | Lisp_Object left_margin_cols, right_margin_cols; |
| 5795 | Lisp_Object left_fringe_width, right_fringe_width, fringes_outside_margins; | 5797 | Lisp_Object left_fringe_width, right_fringe_width, fringes_outside_margins; |
| 5796 | Lisp_Object scroll_bar_width, vertical_scroll_bar_type; | 5798 | Lisp_Object scroll_bar_width, vertical_scroll_bar_type; |
| 5799 | Lisp_Object dedicated; | ||
| 5797 | }; | 5800 | }; |
| 5798 | 5801 | ||
| 5799 | #define SAVED_WINDOW_N(swv,n) \ | 5802 | #define SAVED_WINDOW_N(swv,n) \ |
| @@ -5804,9 +5807,7 @@ DEFUN ("window-configuration-p", Fwindow_configuration_p, Swindow_configuration_ | |||
| 5804 | (object) | 5807 | (object) |
| 5805 | Lisp_Object object; | 5808 | Lisp_Object object; |
| 5806 | { | 5809 | { |
| 5807 | if (WINDOW_CONFIGURATIONP (object)) | 5810 | return WINDOW_CONFIGURATIONP (object) ? Qt : Qnil; |
| 5808 | return Qt; | ||
| 5809 | return Qnil; | ||
| 5810 | } | 5811 | } |
| 5811 | 5812 | ||
| 5812 | DEFUN ("window-configuration-frame", Fwindow_configuration_frame, Swindow_configuration_frame, 1, 1, 0, | 5813 | DEFUN ("window-configuration-frame", Fwindow_configuration_frame, Swindow_configuration_frame, 1, 1, 0, |
| @@ -6028,6 +6029,7 @@ the return value is nil. Otherwise the value is t. */) | |||
| 6028 | w->fringes_outside_margins = p->fringes_outside_margins; | 6029 | w->fringes_outside_margins = p->fringes_outside_margins; |
| 6029 | w->scroll_bar_width = p->scroll_bar_width; | 6030 | w->scroll_bar_width = p->scroll_bar_width; |
| 6030 | w->vertical_scroll_bar_type = p->vertical_scroll_bar_type; | 6031 | w->vertical_scroll_bar_type = p->vertical_scroll_bar_type; |
| 6032 | w->dedicated = p->dedicated; | ||
| 6031 | XSETFASTINT (w->last_modified, 0); | 6033 | XSETFASTINT (w->last_modified, 0); |
| 6032 | XSETFASTINT (w->last_overlay_modified, 0); | 6034 | XSETFASTINT (w->last_overlay_modified, 0); |
| 6033 | 6035 | ||
| @@ -6297,6 +6299,7 @@ save_window_save (window, vector, i) | |||
| 6297 | p->fringes_outside_margins = w->fringes_outside_margins; | 6299 | p->fringes_outside_margins = w->fringes_outside_margins; |
| 6298 | p->scroll_bar_width = w->scroll_bar_width; | 6300 | p->scroll_bar_width = w->scroll_bar_width; |
| 6299 | p->vertical_scroll_bar_type = w->vertical_scroll_bar_type; | 6301 | p->vertical_scroll_bar_type = w->vertical_scroll_bar_type; |
| 6302 | p->dedicated = w->dedicated; | ||
| 6300 | if (!NILP (w->buffer)) | 6303 | if (!NILP (w->buffer)) |
| 6301 | { | 6304 | { |
| 6302 | /* Save w's value of point in the window configuration. | 6305 | /* Save w's value of point in the window configuration. |
| @@ -6796,7 +6799,9 @@ foreach_window (f, fn, user_data) | |||
| 6796 | int (* fn) P_ ((struct window *, void *)); | 6799 | int (* fn) P_ ((struct window *, void *)); |
| 6797 | void *user_data; | 6800 | void *user_data; |
| 6798 | { | 6801 | { |
| 6799 | foreach_window_1 (XWINDOW (FRAME_ROOT_WINDOW (f)), fn, user_data); | 6802 | /* Fdelete_frame may set FRAME_ROOT_WINDOW (f) to Qnil. */ |
| 6803 | if (WINDOWP (FRAME_ROOT_WINDOW (f))) | ||
| 6804 | foreach_window_1 (XWINDOW (FRAME_ROOT_WINDOW (f)), fn, user_data); | ||
| 6800 | } | 6805 | } |
| 6801 | 6806 | ||
| 6802 | 6807 | ||