diff options
| author | Stefan Monnier | 2001-10-14 19:19:03 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-10-14 19:19:03 +0000 |
| commit | 67139f6cfc29722a81660a665650ee897655dd6a (patch) | |
| tree | 22a303ce28949cef10d3dd1539eb2179a2694edb /src | |
| parent | 04d7d0668fb1631453ea3334f3c6a48167640424 (diff) | |
| download | emacs-67139f6cfc29722a81660a665650ee897655dd6a.tar.gz emacs-67139f6cfc29722a81660a665650ee897655dd6a.zip | |
(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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/intervals.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/intervals.h b/src/intervals.h index c5dd03b4250..13347f4e6ea 100644 --- a/src/intervals.h +++ b/src/intervals.h | |||
| @@ -209,14 +209,14 @@ Boston, MA 02111-1307, USA. */ | |||
| 209 | #define TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS(prop) \ | 209 | #define TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS(prop) \ |
| 210 | (EQ (current_buffer->invisibility_spec, Qt) \ | 210 | (EQ (current_buffer->invisibility_spec, Qt) \ |
| 211 | ? 0 \ | 211 | ? 0 \ |
| 212 | : invisible_ellipsis_p (prop, current_buffer->invisibility_spec)) | 212 | : 1 == invisible_p (prop, current_buffer->invisibility_spec)) |
| 213 | 213 | ||
| 214 | /* As above but for "completely" invisible (no ellipsis). */ | 214 | /* As above but for "completely" invisible (no ellipsis). */ |
| 215 | 215 | ||
| 216 | #define TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS(prop) \ | 216 | #define TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS(prop) \ |
| 217 | (EQ (current_buffer->invisibility_spec, Qt) \ | 217 | (EQ (current_buffer->invisibility_spec, Qt) \ |
| 218 | ? !NILP (prop) \ | 218 | ? !NILP (prop) \ |
| 219 | : invisible_noellipsis_p (prop, current_buffer->invisibility_spec)) | 219 | : 2 == invisible_p (prop, current_buffer->invisibility_spec)) |
| 220 | 220 | ||
| 221 | /* Declared in alloc.c */ | 221 | /* Declared in alloc.c */ |
| 222 | 222 | ||
| @@ -264,9 +264,7 @@ extern INTERVAL validate_interval_range P_ ((Lisp_Object, Lisp_Object *, | |||
| 264 | Lisp_Object *, int)); | 264 | Lisp_Object *, int)); |
| 265 | 265 | ||
| 266 | /* Defined in xdisp.c */ | 266 | /* Defined in xdisp.c */ |
| 267 | extern int invisible_ellipsis_p P_ ((Lisp_Object, Lisp_Object)); | ||
| 268 | extern int invisible_p P_ ((Lisp_Object, Lisp_Object)); | 267 | extern int invisible_p P_ ((Lisp_Object, Lisp_Object)); |
| 269 | extern int invisible_noellipsis_p P_ ((Lisp_Object, Lisp_Object)); | ||
| 270 | 268 | ||
| 271 | /* Declared in textprop.c */ | 269 | /* Declared in textprop.c */ |
| 272 | 270 | ||