From: Stefan Monnier Date: Sun, 3 Nov 2002 13:35:46 +0000 (+0000) Subject: (single_display_prop_intangible_p): Strings are intangible. X-Git-Tag: ttn-vms-21-2-B4~12608 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=959bc0443c3144c5ddb019bd98e89f0dd85bcd87;p=emacs.git (single_display_prop_intangible_p): Strings are intangible. --- diff --git a/src/xdisp.c b/src/xdisp.c index f80c3447624..28ff03b3dea 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -64,7 +64,7 @@ Boston, MA 02111-1307, USA. */ | 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 @@ Boston, MA 02111-1307, USA. */ 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 @@ single_display_prop_intangible_p (prop) prop = XCDR (prop); } + if (STRINGP (prop)) + return 1; + if (!CONSP (prop)) return 0;