aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorMiles Bader2006-07-19 00:42:56 +0000
committerMiles Bader2006-07-19 00:42:56 +0000
commit63db3c1b3ffa669435b10aa362115ef664990ab2 (patch)
treea62f68b147d4265ce993136af897d4f348570594 /src/window.c
parent2988d6b36d310ba98ea1fed570142f436804fc18 (diff)
parent83676aa2e399363120942ef5ea19f8af6b75e8e8 (diff)
downloademacs-63db3c1b3ffa669435b10aa362115ef664990ab2.tar.gz
emacs-63db3c1b3ffa669435b10aa362115ef664990ab2.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 343-356) - Update from CVS - Update for ERC 5.1.3. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 113-115) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-90
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/src/window.c b/src/window.c
index 5a03296a18a..2d15cdc7e4e 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3676,7 +3676,7 @@ displayed. */)
3676 3676
3677DEFUN ("force-window-update", Fforce_window_update, Sforce_window_update, 3677DEFUN ("force-window-update", Fforce_window_update, Sforce_window_update,
3678 0, 1, 0, 3678 0, 1, 0,
3679 doc: /* Force redisplay of all windows. 3679 doc: /* Force all windows to be updated on next redisplay.
3680If optional arg OBJECT is a window, force redisplay of that window only. 3680If optional arg OBJECT is a window, force redisplay of that window only.
3681If OBJECT is a buffer or buffer name, force redisplay of all windows 3681If OBJECT is a buffer or buffer name, force redisplay of all windows
3682displaying that buffer. */) 3682displaying that buffer. */)
@@ -4959,9 +4959,9 @@ window_scroll_pixel_based (window, n, whole, noerror)
4959 else if (noerror) 4959 else if (noerror)
4960 return; 4960 return;
4961 else if (n < 0) /* could happen with empty buffers */ 4961 else if (n < 0) /* could happen with empty buffers */
4962 Fsignal (Qbeginning_of_buffer, Qnil); 4962 xsignal0 (Qbeginning_of_buffer);
4963 else 4963 else
4964 Fsignal (Qend_of_buffer, Qnil); 4964 xsignal0 (Qend_of_buffer);
4965 } 4965 }
4966 else 4966 else
4967 { 4967 {
@@ -4972,7 +4972,7 @@ window_scroll_pixel_based (window, n, whole, noerror)
4972 else if (noerror) 4972 else if (noerror)
4973 return; 4973 return;
4974 else 4974 else
4975 Fsignal (Qbeginning_of_buffer, Qnil); 4975 xsignal0 (Qbeginning_of_buffer);
4976 } 4976 }
4977 4977
4978 /* If control gets here, then we vscrolled. */ 4978 /* If control gets here, then we vscrolled. */
@@ -5173,7 +5173,7 @@ window_scroll_line_based (window, n, whole, noerror)
5173 if (noerror) 5173 if (noerror)
5174 return; 5174 return;
5175 else 5175 else
5176 Fsignal (Qbeginning_of_buffer, Qnil); 5176 xsignal0 (Qbeginning_of_buffer);
5177 } 5177 }
5178 5178
5179 if (pos < ZV) 5179 if (pos < ZV)
@@ -5259,7 +5259,7 @@ window_scroll_line_based (window, n, whole, noerror)
5259 if (noerror) 5259 if (noerror)
5260 return; 5260 return;
5261 else 5261 else
5262 Fsignal (Qend_of_buffer, Qnil); 5262 xsignal0 (Qend_of_buffer);
5263 } 5263 }
5264} 5264}
5265 5265
@@ -5883,8 +5883,7 @@ DEFUN ("window-configuration-frame", Fwindow_configuration_frame, Swindow_config
5883 register struct save_window_data *data; 5883 register struct save_window_data *data;
5884 struct Lisp_Vector *saved_windows; 5884 struct Lisp_Vector *saved_windows;
5885 5885
5886 if (! WINDOW_CONFIGURATIONP (config)) 5886 CHECK_WINDOW_CONFIGURATION (config);
5887 wrong_type_argument (Qwindow_configuration_p, config);
5888 5887
5889 data = (struct save_window_data *) XVECTOR (config); 5888 data = (struct save_window_data *) XVECTOR (config);
5890 saved_windows = XVECTOR (data->saved_windows); 5889 saved_windows = XVECTOR (data->saved_windows);
@@ -5909,8 +5908,7 @@ the return value is nil. Otherwise the value is t. */)
5909 FRAME_PTR f; 5908 FRAME_PTR f;
5910 int old_point = -1; 5909 int old_point = -1;
5911 5910
5912 while (!WINDOW_CONFIGURATIONP (configuration)) 5911 CHECK_WINDOW_CONFIGURATION (configuration);
5913 wrong_type_argument (Qwindow_configuration_p, configuration);
5914 5912
5915 data = (struct save_window_data *) XVECTOR (configuration); 5913 data = (struct save_window_data *) XVECTOR (configuration);
5916 saved_windows = XVECTOR (data->saved_windows); 5914 saved_windows = XVECTOR (data->saved_windows);
@@ -6949,10 +6947,8 @@ compare_window_configurations (c1, c2, ignore_positions)
6949 struct Lisp_Vector *sw1, *sw2; 6947 struct Lisp_Vector *sw1, *sw2;
6950 int i; 6948 int i;
6951 6949
6952 if (!WINDOW_CONFIGURATIONP (c1)) 6950 CHECK_WINDOW_CONFIGURATION (c1);
6953 wrong_type_argument (Qwindow_configuration_p, c1); 6951 CHECK_WINDOW_CONFIGURATION (c2);
6954 if (!WINDOW_CONFIGURATIONP (c2))
6955 wrong_type_argument (Qwindow_configuration_p, c2);
6956 6952
6957 d1 = (struct save_window_data *) XVECTOR (c1); 6953 d1 = (struct save_window_data *) XVECTOR (c1);
6958 d2 = (struct save_window_data *) XVECTOR (c2); 6954 d2 = (struct save_window_data *) XVECTOR (c2);