changeset 71991:2cbe7a01a491

(window_scroll_pixel_based, window_scroll_line_based): Use xsignal0.
author Kim F. Storm <storm@cua.dk>
date Tue, 18 Jul 2006 13:29:55 +0000
parents b7bf941f8049
children 760807463226
files src/window.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Tue Jul 18 13:29:49 2006 +0000
+++ b/src/window.c	Tue Jul 18 13:29:55 2006 +0000
@@ -4959,9 +4959,9 @@
 	  else if (noerror)
 	    return;
 	  else if (n < 0)	/* could happen with empty buffers */
-	    Fsignal (Qbeginning_of_buffer, Qnil);
+	    xsignal0 (Qbeginning_of_buffer);
 	  else
-	    Fsignal (Qend_of_buffer, Qnil);
+	    xsignal0 (Qend_of_buffer);
 	}
       else
 	{
@@ -4972,7 +4972,7 @@
 	  else if (noerror)
 	    return;
 	  else
-	    Fsignal (Qbeginning_of_buffer, Qnil);
+	    xsignal0 (Qbeginning_of_buffer);
 	}
 
       /* If control gets here, then we vscrolled.  */
@@ -5173,7 +5173,7 @@
       if (noerror)
 	return;
       else
-	Fsignal (Qbeginning_of_buffer, Qnil);
+	xsignal0 (Qbeginning_of_buffer);
     }
 
   if (pos < ZV)
@@ -5259,7 +5259,7 @@
       if (noerror)
 	return;
       else
-	Fsignal (Qend_of_buffer, Qnil);
+	xsignal0 (Qend_of_buffer);
     }
 }