]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_scroll_pixel_based, window_scroll_line_based):
authorKim F. Storm <storm@cua.dk>
Tue, 18 Jul 2006 13:29:55 +0000 (13:29 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 18 Jul 2006 13:29:55 +0000 (13:29 +0000)
Use xsignal0.

src/window.c

index 6859fc92f30a176dca20edf0113c1662b8e1ae9d..5a7655999f52f7cc1a5d6dbf27d6e949280e915f 100644 (file)
@@ -4959,9 +4959,9 @@ window_scroll_pixel_based (window, n, whole, noerror)
          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 @@ window_scroll_pixel_based (window, n, whole, noerror)
          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 @@ window_scroll_line_based (window, n, whole, noerror)
       if (noerror)
        return;
       else
-       Fsignal (Qbeginning_of_buffer, Qnil);
+       xsignal0 (Qbeginning_of_buffer);
     }
 
   if (pos < ZV)
@@ -5259,7 +5259,7 @@ window_scroll_line_based (window, n, whole, noerror)
       if (noerror)
        return;
       else
-       Fsignal (Qend_of_buffer, Qnil);
+       xsignal0 (Qend_of_buffer);
     }
 }