summaryrefslogtreecommitdiff
path: root/src/cmds.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-07-18 13:26:05 +0000
committerKim F. Storm <storm@cua.dk>2006-07-18 13:26:05 +0000
commitaaf769f15ad643ec47eb2540f8f970ac1065dd78 (patch)
tree706e9608f8501eb832a5c34cbec6ace94c9ee8d5 /src/cmds.c
parentddc4cc779419a66aa18b39afb472945132dadd89 (diff)
downloademacs-aaf769f15ad643ec47eb2540f8f970ac1065dd78.tar.gz
(Fforward_char, Fdelete_char): Use xsignal0.
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 494ef14db99..b84b9d1d85e 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -77,12 +77,12 @@ On reaching end of buffer, stop and signal error. */)
if (new_point < BEGV)
{
SET_PT (BEGV);
- Fsignal (Qbeginning_of_buffer, Qnil);
+ xsignal0 (Qbeginning_of_buffer);
}
if (new_point > ZV)
{
SET_PT (ZV);
- Fsignal (Qend_of_buffer, Qnil);
+ xsignal0 (Qend_of_buffer);
}
SET_PT (new_point);
@@ -245,14 +245,14 @@ N was explicitly specified. */)
if (XINT (n) < 0)
{
if (pos < BEGV)
- Fsignal (Qbeginning_of_buffer, Qnil);
+ xsignal0 (Qbeginning_of_buffer);
else
del_range (pos, PT);
}
else
{
if (pos > ZV)
- Fsignal (Qend_of_buffer, Qnil);
+ xsignal0 (Qend_of_buffer);
else
del_range (PT, pos);
}