diff options
| author | Stefan Monnier | 2006-10-01 16:44:43 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-10-01 16:44:43 +0000 |
| commit | 2201c41ce3bb861455004b938978384bbe781071 (patch) | |
| tree | aeea88ede83bad5c28ca1b1edb81603cdf1d7267 /src | |
| parent | 7f7f218c4fae418160e3257988d987e6152b5898 (diff) | |
| download | emacs-2201c41ce3bb861455004b938978384bbe781071.tar.gz emacs-2201c41ce3bb861455004b938978384bbe781071.zip | |
(handle_fontified_prop): Don't fontify at EOB.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f68f2453bd1..c62e4fbe031 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2006-10-01 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * xdisp.c (handle_fontified_prop): Don't fontify at EOB. | ||
| 4 | |||
| 1 | 2006-09-30 Eli Zaretskii <eliz@gnu.org> | 5 | 2006-09-30 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * config.in Regenerated. | 7 | * config.in Regenerated. |
diff --git a/src/xdisp.c b/src/xdisp.c index c766f714335..a8da5aa848e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3246,7 +3246,9 @@ handle_fontified_prop (it) | |||
| 3246 | && !NILP (Vrun_hooks) | 3246 | && !NILP (Vrun_hooks) |
| 3247 | && (pos = make_number (IT_CHARPOS (*it)), | 3247 | && (pos = make_number (IT_CHARPOS (*it)), |
| 3248 | prop = Fget_char_property (pos, Qfontified, Qnil), | 3248 | prop = Fget_char_property (pos, Qfontified, Qnil), |
| 3249 | NILP (prop))) | 3249 | /* Ignore the special cased nil value always present at EOB since |
| 3250 | no amount of fontifying will be able to change it. */ | ||
| 3251 | NILP (prop) && IT_CHARPOS (*it) < Z)) | ||
| 3250 | { | 3252 | { |
| 3251 | int count = SPECPDL_INDEX (); | 3253 | int count = SPECPDL_INDEX (); |
| 3252 | Lisp_Object val; | 3254 | Lisp_Object val; |