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
59a486ab
Commit
59a486ab
authored
Sep 21, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fget_char_property): Pass new arg to overlays_at.
(NULL): Define if not defined.
parent
287e500d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/textprop.c
src/textprop.c
+8
-2
No files found.
src/textprop.c
View file @
59a486ab
...
...
@@ -22,6 +22,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "intervals.h"
#include "buffer.h"
#include "window.h"
#ifndef NULL
#define NULL (void *)0
#endif
/* NOTES: previous- and next- property change will have to skip
...
...
@@ -543,7 +547,8 @@ overlays are considered only if they are associated with OBJECT.")
len
=
40
;
overlay_vec
=
(
Lisp_Object
*
)
alloca
(
len
*
sizeof
(
Lisp_Object
));
noverlays
=
overlays_at
(
posn
,
0
,
&
overlay_vec
,
&
len
,
&
next_overlay
);
noverlays
=
overlays_at
(
posn
,
0
,
&
overlay_vec
,
&
len
,
&
next_overlay
,
NULL
);
/* If there are more than 40,
make enough space for all, and try again. */
...
...
@@ -551,7 +556,8 @@ overlays are considered only if they are associated with OBJECT.")
{
len
=
noverlays
;
overlay_vec
=
(
Lisp_Object
*
)
alloca
(
len
*
sizeof
(
Lisp_Object
));
noverlays
=
overlays_at
(
posn
,
0
,
&
overlay_vec
,
&
len
,
&
next_overlay
);
noverlays
=
overlays_at
(
posn
,
0
,
&
overlay_vec
,
&
len
,
&
next_overlay
,
NULL
);
}
noverlays
=
sort_overlays
(
overlay_vec
,
noverlays
,
w
);
...
...
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