From: Kim F. Storm Date: Tue, 18 Jul 2006 13:29:55 +0000 (+0000) Subject: (window_scroll_pixel_based, window_scroll_line_based): X-Git-Tag: emacs-pretest-22.0.90~1357 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba96a5cfd407db0f0b5d1d778cf548cedf5fc584;p=emacs.git (window_scroll_pixel_based, window_scroll_line_based): Use xsignal0. --- diff --git a/src/window.c b/src/window.c index 6859fc92f30..5a7655999f5 100644 --- a/src/window.c +++ b/src/window.c @@ -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); } }