Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
df1958c4
Commit
df1958c4
authored
Oct 12, 2001
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): New macro.
(traverse_intervals_noorder, invisible_noellipsis_p): New funs.
parent
42005513
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
src/intervals.h
src/intervals.h
+14
-2
No files found.
src/intervals.h
View file @
df1958c4
...
...
@@ -199,7 +199,7 @@ Boston, MA 02111-1307, USA. */
#define TEXT_PROP_MEANS_INVISIBLE(prop) \
(EQ (current_buffer->invisibility_spec, Qt) \
? !
NILP (prop) \
? !NILP (prop) \
: invisible_p (prop, current_buffer->invisibility_spec))
/* If PROP is the `invisible' property of a character,
...
...
@@ -211,6 +211,13 @@ Boston, MA 02111-1307, USA. */
? 0 \
: invisible_ellipsis_p (prop, current_buffer->invisibility_spec))
/* As above but for "completely" invisible (no ellipsis). */
#define TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS(prop) \
(EQ (current_buffer->invisibility_spec, Qt) \
? !NILP (prop) \
: invisible_noellipsis_p (prop, current_buffer->invisibility_spec))
/* Declared in alloc.c */
extern
INTERVAL
make_interval
P_
((
void
));
...
...
@@ -220,7 +227,10 @@ extern INTERVAL make_interval P_ ((void));
extern
INTERVAL
create_root_interval
P_
((
Lisp_Object
));
extern
void
copy_properties
P_
((
INTERVAL
,
INTERVAL
));
extern
int
intervals_equal
P_
((
INTERVAL
,
INTERVAL
));
extern
void
traverse_intervals
P_
((
INTERVAL
,
int
,
int
,
extern
void
traverse_intervals
P_
((
INTERVAL
,
int
,
void
(
*
)
(
INTERVAL
,
Lisp_Object
),
Lisp_Object
));
extern
void
traverse_intervals_noorder
P_
((
INTERVAL
,
void
(
*
)
(
INTERVAL
,
Lisp_Object
),
Lisp_Object
));
extern
INTERVAL
split_interval_right
P_
((
INTERVAL
,
int
));
...
...
@@ -255,6 +265,8 @@ extern INTERVAL validate_interval_range P_ ((Lisp_Object, Lisp_Object *,
/* Defined in xdisp.c */
extern
int
invisible_ellipsis_p
P_
((
Lisp_Object
,
Lisp_Object
));
extern
int
invisible_p
P_
((
Lisp_Object
,
Lisp_Object
));
extern
int
invisible_noellipsis_p
P_
((
Lisp_Object
,
Lisp_Object
));
/* Declared in textprop.c */
...
...
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