diff options
| author | Kenichi Handa | 2003-11-23 07:32:11 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-11-23 07:32:11 +0000 |
| commit | 394c6e0e944c50318de98fd1acadd71011336ea0 (patch) | |
| tree | 7a172520631bd25fa71a2b0eba7b7bb012fe3911 /src | |
| parent | e536eeeddeadaa8a4641009a16cee538f67f6ad5 (diff) | |
| download | emacs-394c6e0e944c50318de98fd1acadd71011336ea0.tar.gz emacs-394c6e0e944c50318de98fd1acadd71011336ea0.zip | |
(handle_auto_composed_prop): Fix the case of returning
HANDLED_RECOMPUTE_PROPS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 12dca91d0ac..bc8ed03868c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3829,7 +3829,10 @@ handle_auto_composed_prop (it) | |||
| 3829 | unbind_to (count, Qnil); | 3829 | unbind_to (count, Qnil); |
| 3830 | 3830 | ||
| 3831 | val = Fget_char_property (args[1], Qauto_composed, it->string); | 3831 | val = Fget_char_property (args[1], Qauto_composed, it->string); |
| 3832 | if (! NILP (val) && this_pos == pos) | 3832 | /* Return HANDLED_RECOMPUTE_PROPS only if function fontified |
| 3833 | something. This avoids an endless loop if they failed to | ||
| 3834 | fontify the text for which reason ever. */ | ||
| 3835 | if (! NILP (val)) | ||
| 3833 | handled = HANDLED_RECOMPUTE_PROPS; | 3836 | handled = HANDLED_RECOMPUTE_PROPS; |
| 3834 | } | 3837 | } |
| 3835 | } | 3838 | } |