Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
aaf769f1
Commit
aaf769f1
authored
Jul 18, 2006
by
Kim F. Storm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fforward_char, Fdelete_char): Use xsignal0.
parent
ddc4cc77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/cmds.c
src/cmds.c
+4
-4
No files found.
src/cmds.c
View file @
aaf769f1
...
...
@@ -77,12 +77,12 @@ On reaching end of buffer, stop and signal error. */)
if
(
new_point
<
BEGV
)
{
SET_PT
(
BEGV
);
F
signal
(
Qbeginning_of_buffer
,
Qnil
);
x
signal
0
(
Qbeginning_of_buffer
);
}
if
(
new_point
>
ZV
)
{
SET_PT
(
ZV
);
F
signal
(
Qend_of_buffer
,
Qnil
);
x
signal
0
(
Qend_of_buffer
);
}
SET_PT
(
new_point
);
...
...
@@ -245,14 +245,14 @@ N was explicitly specified. */)
if
(
XINT
(
n
)
<
0
)
{
if
(
pos
<
BEGV
)
F
signal
(
Qbeginning_of_buffer
,
Qnil
);
x
signal
0
(
Qbeginning_of_buffer
);
else
del_range
(
pos
,
PT
);
}
else
{
if
(
pos
>
ZV
)
F
signal
(
Qend_of_buffer
,
Qnil
);
x
signal
0
(
Qend_of_buffer
);
else
del_range
(
PT
,
pos
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment