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
041aa96f
Commit
041aa96f
authored
Mar 11, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fnext_property_change): Handle LIMIT = t.
parent
9184aafb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/textprop.c
src/textprop.c
+9
-1
No files found.
src/textprop.c
View file @
041aa96f
...
...
@@ -606,7 +606,7 @@ past position LIMIT; return LIMIT if nothing is found before LIMIT.")
if
(
NILP
(
object
))
XSETBUFFER
(
object
,
current_buffer
);
if
(
!
NILP
(
limit
))
if
(
!
NILP
(
limit
)
&&
!
EQ
(
limit
,
Qt
)
)
CHECK_NUMBER_COERCE_MARKER
(
limit
,
0
);
i
=
validate_interval_range
(
object
,
&
pos
,
&
pos
,
soft
);
...
...
@@ -614,6 +614,14 @@ past position LIMIT; return LIMIT if nothing is found before LIMIT.")
return
limit
;
next
=
next_interval
(
i
);
/* If LIMIT is t, return start of next interval--don't
bother checking further intervals. */
if
(
EQ
(
limit
,
Qt
))
{
XSETFASTINT
(
pos
,
next
->
position
-
(
STRINGP
(
object
)));
return
pos
;
}
while
(
!
NULL_INTERVAL_P
(
next
)
&&
intervals_equal
(
i
,
next
)
&&
(
NILP
(
limit
)
||
next
->
position
<
XFASTINT
(
limit
)))
next
=
next_interval
(
next
);
...
...
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