Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d4225c08
Commit
d4225c08
authored
Aug 08, 2000
by
Ken Raeburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fprevious_single_char_property_change): Don't do arithmetic directly on lisp
objects.
parent
cba7d658
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/textprop.c
src/textprop.c
+4
-2
No files found.
src/textprop.c
View file @
d4225c08
...
...
@@ -790,7 +790,8 @@ back past position LIMIT; return LIMIT if nothing is found before LIMIT.")
else
{
Lisp_Object
initial_value
=
Fget_char_property
(
position
-
1
,
prop
,
object
);
Fget_char_property
(
make_number
(
XFASTINT
(
position
)
-
1
),
prop
,
object
);
for
(;;)
{
...
...
@@ -804,7 +805,8 @@ back past position LIMIT; return LIMIT if nothing is found before LIMIT.")
else
{
Lisp_Object
value
=
Fget_char_property
(
position
-
1
,
prop
,
object
);
Fget_char_property
(
make_number
(
XFASTINT
(
position
)
-
1
),
prop
,
object
);
if
(
!
EQ
(
value
,
initial_value
))
break
;
...
...
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