diff options
| author | Stefan Monnier | 2002-11-03 13:35:46 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2002-11-03 13:35:46 +0000 |
| commit | 959bc0443c3144c5ddb019bd98e89f0dd85bcd87 (patch) | |
| tree | f7fc4fd00f9fe42e0f9f3e0ffd1f548bd4fe1848 /src | |
| parent | a85e4d5887bc78a155f7bfdbe0feb978b87c19fd (diff) | |
| download | emacs-959bc0443c3144c5ddb019bd98e89f0dd85bcd87.tar.gz emacs-959bc0443c3144c5ddb019bd98e89f0dd85bcd87.zip | |
(single_display_prop_intangible_p): Strings are intangible.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
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 | ||