1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00

(window_scroll_pixel_based, window_scroll_line_based):

Use xsignal0.
This commit is contained in:
Kim F. Storm 2006-07-18 13:29:55 +00:00
parent dbfcf224ac
commit ba96a5cfd4

View 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);
}
}