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
cbc55f55
Commit
cbc55f55
authored
Jul 22, 1995
by
Richard M. Stallman
Browse files
(Fget_char_property): If OBJECT is non-current buffer,
use it properly for overlays_at.
parent
645c4f6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/textprop.c
src/textprop.c
+5
-0
No files found.
src/textprop.c
View file @
cbc55f55
...
...
@@ -556,6 +556,9 @@ overlays are considered only if they are associated with OBJECT.")
Lisp_Object
*
overlay_vec
,
tem
;
int
next_overlay
;
int
len
;
struct
buffer
*
obuf
=
current_buffer
;
set_buffer_temp
(
XBUFFER
(
object
));
/* First try with room for 40 overlays. */
len
=
40
;
...
...
@@ -575,6 +578,8 @@ overlays are considered only if they are associated with OBJECT.")
}
noverlays
=
sort_overlays
(
overlay_vec
,
noverlays
,
w
);
set_buffer_temp
(
obuf
);
/* Now check the overlays in order of decreasing priority. */
while
(
--
noverlays
>=
0
)
{
...
...
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