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
002571dd
Commit
002571dd
authored
May 17, 2004
by
Kim F. Storm
Browse files
(GET_OVERLAYS_AT): New macro.
parent
ff999ce6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
src/buffer.h
src/buffer.h
+19
-0
No files found.
src/buffer.h
View file @
002571dd
...
...
@@ -823,6 +823,25 @@ extern void buffer_slot_type_mismatch P_ ((int));
extern
void
fix_overlays_before
P_
((
struct
buffer
*
,
EMACS_INT
,
EMACS_INT
));
extern
void
mmap_set_vars
P_
((
int
));
/* Get overlays at POSN into array OVERLAYS with NOVERLAYS elements.
If NEXTP is non-NULL, return next overlay there.
See overlay_at arg CHANGE_REQ for meaning of CHRQ arg. */
#define GET_OVERLAYS_AT(posn, overlays, noverlays, nextp, chrq) \
do { \
int maxlen = 40; \
overlays = (Lisp_Object *) alloca (maxlen * sizeof (Lisp_Object)); \
noverlays = overlays_at (posn, 0, &overlays, &maxlen, \
nextp, NULL, chrq); \
if (noverlays > maxlen) \
{ \
maxlen = noverlays; \
overlays = (Lisp_Object *) alloca (maxlen * sizeof (Lisp_Object)); \
noverlays = overlays_at (posn, 0, &overlays, &maxlen, \
nextp, NULL, chrq); \
} \
} while (0)
EXFUN
(
Fbuffer_name
,
1
);
EXFUN
(
Fget_file_buffer
,
1
);
EXFUN
(
Fnext_overlay_change
,
1
);
...
...
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