changeset 48137:6c61b0cf0b3c

(single_display_prop_intangible_p): Strings are intangible.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 03 Nov 2002 13:35:46 +0000
parents c102d9848214
children 3e781c129fd0
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Nov 03 12:37:48 2002 +0000
+++ b/src/xdisp.c	Sun Nov 03 13:35:46 2002 +0000
@@ -64,7 +64,7 @@
                                                          |
 			           X expose events  -----+
 
-   What does redisplay?  Obviously, it has to figure out somehow what
+   What does redisplay do?  Obviously, it has to figure out somehow what
    has been changed since the last time the display has been updated,
    and to make these changes visible.  Preferably it would do that in
    a moderately intelligent way, i.e. fast.
@@ -120,7 +120,7 @@
    on various settings of buffers and windows, on overlays and text
    properties, on display tables, on selective display.  The good news
    is that all this hairy stuff is hidden behind a small set of
-   interface functions taking a iterator structure (struct it)
+   interface functions taking an iterator structure (struct it)
    argument.
 
    Iteration over things to be displayed is then simple.  It is
@@ -3144,6 +3144,9 @@
       prop = XCDR (prop);
     }
 
+  if (STRINGP (prop))
+    return 1;
+
   if (!CONSP (prop))
     return 0;