aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2006-07-18 13:29:55 +0000
committerKim F. Storm2006-07-18 13:29:55 +0000
commitba96a5cfd407db0f0b5d1d778cf548cedf5fc584 (patch)
tree0f443b412242ad4c5047141a4b5a7fbd56569bf1
parentdbfcf224aceae043fb06e619d981fc0d6a39a1f2 (diff)
downloademacs-ba96a5cfd407db0f0b5d1d778cf548cedf5fc584.tar.gz
emacs-ba96a5cfd407db0f0b5d1d778cf548cedf5fc584.zip
(window_scroll_pixel_based, window_scroll_line_based):
Use xsignal0.
-rw-r--r--src/window.c10
1 files changed, 5 insertions, 5 deletions
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)
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