aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-05-29 01:05:24 +0000
committerStefan Monnier2006-05-29 01:05:24 +0000
commit6ad0381ce14cbb2b348c62ce57c00a50929f7cf8 (patch)
tree94aa0bfe2cb7fb99aa764c7660c996504d804f3d
parent7311509ee6842235502d446a4aaf16d3f0a6e068 (diff)
downloademacs-6ad0381ce14cbb2b348c62ce57c00a50929f7cf8.tar.gz
emacs-6ad0381ce14cbb2b348c62ce57c00a50929f7cf8.zip
(struct saved_window): Add `dedicated'.
(Fset_window_configuration, save_window_save): Save/restore the `dedicated' flag.
-rw-r--r--src/ChangeLog19
-rw-r--r--src/window.c7
2 files changed, 16 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f210ed382a6..c973a07f264 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -3,6 +3,12 @@
3 * coding.c (Ffind_operation_coding_system): Call a function by 3 * coding.c (Ffind_operation_coding_system): Call a function by
4 safe_call1 instead of call1. 4 safe_call1 instead of call1.
5 5
62006-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * window.c (struct saved_window): Add `dedicated'.
9 (Fset_window_configuration, save_window_save): Save/restore the
10 `dedicated' flag.
11
62006-05-28 Kim F. Storm <storm@cua.dk> 122006-05-28 Kim F. Storm <storm@cua.dk>
7 13
8 * xdisp.c (set_cursor_from_row): If cursor cannot be set in row, 14 * xdisp.c (set_cursor_from_row): If cursor cannot be set in row,
@@ -32,8 +38,8 @@
32 38
332006-05-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 392006-05-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
34 40
35 * macselect.c (mac_handle_apple_event): Return 41 * macselect.c (mac_handle_apple_event):
36 errAEEventNotHandled if key binding is not found. 42 Return errAEEventNotHandled if key binding is not found.
37 43
382006-05-26 Eli Zaretskii <eliz@gnu.org> 442006-05-26 Eli Zaretskii <eliz@gnu.org>
39 45
@@ -44,9 +50,9 @@
44 50
452006-05-26 Chong Yidong <cyd@stupidchicken.com> 512006-05-26 Chong Yidong <cyd@stupidchicken.com>
46 52
47 * fileio.c (Fcopy_file): Delete argument MUSTBENEW. Incorporate 53 * fileio.c (Fcopy_file): Delete argument MUSTBENEW.
48 the exclusive file-opening functionality into the behavior when 54 Incorporate the exclusive file-opening functionality into the behavior
49 OK-IF-ALREADY-EXISTS is nil. 55 when OK-IF-ALREADY-EXISTS is nil.
50 (Frename_file): Call Fcopy_file without MUSTBENEW argument. 56 (Frename_file): Call Fcopy_file without MUSTBENEW argument.
51 57
522006-05-26 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 582006-05-26 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
@@ -98,8 +104,7 @@
98 load-history, except at preloading time. 104 load-history, except at preloading time.
99 105
100 * lread.c (Fload): At preloading time, preserve the extension of 106 * lread.c (Fload): At preloading time, preserve the extension of
101 the filename which goes into load-history. New variable 107 the filename which goes into load-history. New var hist_file_name.
102 hist_file_name.
103 108
104 * lread.c (Fload): Do eval-after-load stuff by calling the lisp 109 * lread.c (Fload): Do eval-after-load stuff by calling the lisp
105 function do-after-load-evaluation. 110 function do-after-load-evaluation.
diff --git a/src/window.c b/src/window.c
index 772ee18b08c..20bf204e76b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5794,6 +5794,7 @@ struct saved_window
5794 Lisp_Object left_margin_cols, right_margin_cols; 5794 Lisp_Object left_margin_cols, right_margin_cols;
5795 Lisp_Object left_fringe_width, right_fringe_width, fringes_outside_margins; 5795 Lisp_Object left_fringe_width, right_fringe_width, fringes_outside_margins;
5796 Lisp_Object scroll_bar_width, vertical_scroll_bar_type; 5796 Lisp_Object scroll_bar_width, vertical_scroll_bar_type;
5797 Lisp_Object dedicated;
5797}; 5798};
5798 5799
5799#define SAVED_WINDOW_N(swv,n) \ 5800#define SAVED_WINDOW_N(swv,n) \
@@ -5804,9 +5805,7 @@ DEFUN ("window-configuration-p", Fwindow_configuration_p, Swindow_configuration_
5804 (object) 5805 (object)
5805 Lisp_Object object; 5806 Lisp_Object object;
5806{ 5807{
5807 if (WINDOW_CONFIGURATIONP (object)) 5808 return WINDOW_CONFIGURATIONP (object) ? Qt : Qnil;
5808 return Qt;
5809 return Qnil;
5810} 5809}
5811 5810
5812DEFUN ("window-configuration-frame", Fwindow_configuration_frame, Swindow_configuration_frame, 1, 1, 0, 5811DEFUN ("window-configuration-frame", Fwindow_configuration_frame, Swindow_configuration_frame, 1, 1, 0,
@@ -6028,6 +6027,7 @@ the return value is nil. Otherwise the value is t. */)
6028 w->fringes_outside_margins = p->fringes_outside_margins; 6027 w->fringes_outside_margins = p->fringes_outside_margins;
6029 w->scroll_bar_width = p->scroll_bar_width; 6028 w->scroll_bar_width = p->scroll_bar_width;
6030 w->vertical_scroll_bar_type = p->vertical_scroll_bar_type; 6029 w->vertical_scroll_bar_type = p->vertical_scroll_bar_type;
6030 w->dedicated = p->dedicated;
6031 XSETFASTINT (w->last_modified, 0); 6031 XSETFASTINT (w->last_modified, 0);
6032 XSETFASTINT (w->last_overlay_modified, 0); 6032 XSETFASTINT (w->last_overlay_modified, 0);
6033 6033
@@ -6297,6 +6297,7 @@ save_window_save (window, vector, i)
6297 p->fringes_outside_margins = w->fringes_outside_margins; 6297 p->fringes_outside_margins = w->fringes_outside_margins;
6298 p->scroll_bar_width = w->scroll_bar_width; 6298 p->scroll_bar_width = w->scroll_bar_width;
6299 p->vertical_scroll_bar_type = w->vertical_scroll_bar_type; 6299 p->vertical_scroll_bar_type = w->vertical_scroll_bar_type;
6300 p->dedicated = w->dedicated;
6300 if (!NILP (w->buffer)) 6301 if (!NILP (w->buffer))
6301 { 6302 {
6302 /* Save w's value of point in the window configuration. 6303 /* Save w's value of point in the window configuration.