changeset 39926:26c25aa40c59

(TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS) (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): Use invisible_p's new return vals. (invisible_ellipsis_p, invisible_noellipsis_p): Removed.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 14 Oct 2001 19:19:03 +0000
parents 8944218cbc96
children aca3a28a799a
files src/intervals.h
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.h	Sun Oct 14 16:14:53 2001 +0000
+++ b/src/intervals.h	Sun Oct 14 19:19:03 2001 +0000
@@ -209,14 +209,14 @@
 #define TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS(prop)		\
   (EQ (current_buffer->invisibility_spec, Qt)			\
    ? 0								\
-   : invisible_ellipsis_p (prop, current_buffer->invisibility_spec))
+   : 1 == invisible_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))
+   : 2 == invisible_p (prop, current_buffer->invisibility_spec))
 
 /* Declared in alloc.c */
 
@@ -264,9 +264,7 @@
 					     Lisp_Object *, int));
 
 /* 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 */