Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1e02f3cb
Commit
1e02f3cb
authored
Nov 03, 2008
by
Martin Rudalics
Browse files
(Fprevious_single_char_property_change): Return 0
when there's no change in a string. (Bug#1301)
parent
8e38a1a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/textprop.c
src/textprop.c
+1
-1
No files found.
src/ChangeLog
View file @
1e02f3cb
2008-11-03 Martin Rudalics <rudalics@gmx.at>
* textprop.c (Fprevious_single_char_property_change): Return 0
when there's no change in a string. (Bug#1301)
2008-11-02 Martin Rudalics <rudalics@gmx.at>
* frame.c (do_switch_frame): New argument NORECORD passed to
...
...
src/textprop.c
View file @
1e02f3cb
...
...
@@ -883,7 +883,7 @@ back past position LIMIT; return LIMIT if nothing is found before LIMIT. */)
if
(
NILP
(
position
))
{
if
(
NILP
(
limit
))
position
=
make_number
(
SCHARS
(
object
)
);
position
=
make_number
(
0
);
else
{
CHECK_NUMBER
(
limit
);
...
...
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