aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.h
diff options
context:
space:
mode:
authorStefan Monnier2001-10-14 20:23:38 +0000
committerStefan Monnier2001-10-14 20:23:38 +0000
commit99776d43e2bca8f64487870c9fb0010ebc08be11 (patch)
tree14d0405ca5b9bfbb52dfe81124b10155d685aa8e /src/intervals.h
parent8580a4e3e0b00cdda72314e7c44cc7f321c024b4 (diff)
downloademacs-99776d43e2bca8f64487870c9fb0010ebc08be11.tar.gz
emacs-99776d43e2bca8f64487870c9fb0010ebc08be11.zip
(TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS)
(TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): Remove.
Diffstat (limited to 'src/intervals.h')
-rw-r--r--src/intervals.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/intervals.h b/src/intervals.h
index 13347f4e6ea..fc1ceb2a8b8 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -195,29 +195,14 @@ Boston, MA 02111-1307, USA. */
195 195
196 196
197/* If PROP is the `invisible' property of a character, 197/* If PROP is the `invisible' property of a character,
198 this is 1 if the character should be treated as invisible. */ 198 this is 1 if the character should be treated as invisible,
199 and 2 if it is invisible but with an ellipsis. */
199 200
200#define TEXT_PROP_MEANS_INVISIBLE(prop) \ 201#define TEXT_PROP_MEANS_INVISIBLE(prop) \
201 (EQ (current_buffer->invisibility_spec, Qt) \ 202 (EQ (current_buffer->invisibility_spec, Qt) \
202 ? !NILP (prop) \ 203 ? !NILP (prop) \
203 : invisible_p (prop, current_buffer->invisibility_spec)) 204 : invisible_p (prop, current_buffer->invisibility_spec))
204 205
205/* If PROP is the `invisible' property of a character,
206 this is 1 if the character should be treated as invisible
207 and should have an ellipsis. */
208
209#define TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS(prop) \
210 (EQ (current_buffer->invisibility_spec, Qt) \
211 ? 0 \
212 : 1 == invisible_p (prop, current_buffer->invisibility_spec))
213
214/* As above but for "completely" invisible (no ellipsis). */
215
216#define TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS(prop) \
217 (EQ (current_buffer->invisibility_spec, Qt) \
218 ? !NILP (prop) \
219 : 2 == invisible_p (prop, current_buffer->invisibility_spec))
220
221/* Declared in alloc.c */ 206/* Declared in alloc.c */
222 207
223extern INTERVAL make_interval P_ ((void)); 208extern INTERVAL make_interval P_ ((void));