aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2004-10-12 14:14:35 +0000
committerKim F. Storm2004-10-12 14:14:35 +0000
commit16fe48b4248cd1e38a545ef35c5e9ffe9a49adb4 (patch)
tree27f6cd768a616af589476f5a3886fc80a4e216fe /src
parent61087d3fd64d11574f98e94c9413ef56b69c9919 (diff)
downloademacs-16fe48b4248cd1e38a545ef35c5e9ffe9a49adb4.tar.gz
emacs-16fe48b4248cd1e38a545ef35c5e9ffe9a49adb4.zip
(redisplay_preserve_echo_area): Flush display in case
caller, such as call-process, is not going to poll for input. (calc_line_height_property): Handle case where it->object is nil.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 1c479aee4e8..fa4ddc3eb4d 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -10407,6 +10407,9 @@ redisplay_preserve_echo_area (from_where)
10407 } 10407 }
10408 else 10408 else
10409 redisplay_internal (1); 10409 redisplay_internal (1);
10410
10411 if (rif->flush_display_optional)
10412 rif->flush_display_optional (NULL);
10410} 10413}
10411 10414
10412 10415
@@ -18696,8 +18699,10 @@ calc_line_height_property (it, prop, font, boff, total)
18696 18699
18697 if (STRINGP (it->object)) 18700 if (STRINGP (it->object))
18698 position = make_number (IT_STRING_CHARPOS (*it)); 18701 position = make_number (IT_STRING_CHARPOS (*it));
18699 else 18702 else if (BUFFERP (it->object))
18700 position = make_number (IT_CHARPOS (*it)); 18703 position = make_number (IT_CHARPOS (*it));
18704 else
18705 return Qnil;
18701 18706
18702 val = Fget_char_property (position, prop, it->object); 18707 val = Fget_char_property (position, prop, it->object);
18703 18708