aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2002-11-03 13:35:46 +0000
committerStefan Monnier2002-11-03 13:35:46 +0000
commit959bc0443c3144c5ddb019bd98e89f0dd85bcd87 (patch)
treef7fc4fd00f9fe42e0f9f3e0ffd1f548bd4fe1848 /src
parenta85e4d5887bc78a155f7bfdbe0feb978b87c19fd (diff)
downloademacs-959bc0443c3144c5ddb019bd98e89f0dd85bcd87.tar.gz
emacs-959bc0443c3144c5ddb019bd98e89f0dd85bcd87.zip
(single_display_prop_intangible_p): Strings are intangible.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 5 insertions, 2 deletions
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. */
64 | 64 |
65 X expose events -----+ 65 X expose events -----+
66 66
67 What does redisplay? Obviously, it has to figure out somehow what 67 What does redisplay do? Obviously, it has to figure out somehow what
68 has been changed since the last time the display has been updated, 68 has been changed since the last time the display has been updated,
69 and to make these changes visible. Preferably it would do that in 69 and to make these changes visible. Preferably it would do that in
70 a moderately intelligent way, i.e. fast. 70 a moderately intelligent way, i.e. fast.
@@ -120,7 +120,7 @@ Boston, MA 02111-1307, USA. */
120 on various settings of buffers and windows, on overlays and text 120 on various settings of buffers and windows, on overlays and text
121 properties, on display tables, on selective display. The good news 121 properties, on display tables, on selective display. The good news
122 is that all this hairy stuff is hidden behind a small set of 122 is that all this hairy stuff is hidden behind a small set of
123 interface functions taking a iterator structure (struct it) 123 interface functions taking an iterator structure (struct it)
124 argument. 124 argument.
125 125
126 Iteration over things to be displayed is then simple. It is 126 Iteration over things to be displayed is then simple. It is
@@ -3144,6 +3144,9 @@ single_display_prop_intangible_p (prop)
3144 prop = XCDR (prop); 3144 prop = XCDR (prop);
3145 } 3145 }
3146 3146
3147 if (STRINGP (prop))
3148 return 1;
3149
3147 if (!CONSP (prop)) 3150 if (!CONSP (prop))
3148 return 0; 3151 return 0;
3149 3152