diff options
Diffstat (limited to 'src/cmds.c')
| -rw-r--r-- | src/cmds.c | 8 |
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. */) | |||
| 77 | if (new_point < BEGV) | 77 | if (new_point < BEGV) |
| 78 | { | 78 | { |
| 79 | SET_PT (BEGV); | 79 | SET_PT (BEGV); |
| 80 | Fsignal (Qbeginning_of_buffer, Qnil); | 80 | xsignal0 (Qbeginning_of_buffer); |
| 81 | } | 81 | } |
| 82 | if (new_point > ZV) | 82 | if (new_point > ZV) |
| 83 | { | 83 | { |
| 84 | SET_PT (ZV); | 84 | SET_PT (ZV); |
| 85 | Fsignal (Qend_of_buffer, Qnil); | 85 | xsignal0 (Qend_of_buffer); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | SET_PT (new_point); | 88 | SET_PT (new_point); |
| @@ -245,14 +245,14 @@ N was explicitly specified. */) | |||
| 245 | if (XINT (n) < 0) | 245 | if (XINT (n) < 0) |
| 246 | { | 246 | { |
| 247 | if (pos < BEGV) | 247 | if (pos < BEGV) |
| 248 | Fsignal (Qbeginning_of_buffer, Qnil); | 248 | xsignal0 (Qbeginning_of_buffer); |
| 249 | else | 249 | else |
| 250 | del_range (pos, PT); | 250 | del_range (pos, PT); |
| 251 | } | 251 | } |
| 252 | else | 252 | else |
| 253 | { | 253 | { |
| 254 | if (pos > ZV) | 254 | if (pos > ZV) |
| 255 | Fsignal (Qend_of_buffer, Qnil); | 255 | xsignal0 (Qend_of_buffer); |
| 256 | else | 256 | else |
| 257 | del_range (PT, pos); | 257 | del_range (PT, pos); |
| 258 | } | 258 | } |