1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00

(Fx_show_tip): Set string to " " if empty.

This commit is contained in:
Jan Djärv 2008-02-18 08:08:32 +00:00
parent 758dc0cc60
commit 2d7117fe05
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2008-02-18 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se>
* xfns.c (Fx_show_tip): Set string to " " if empty.
2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
* callint.c (syms_of_callint): Initialize Vmark_even_if_inactive

View file

@ -5317,6 +5317,9 @@ Text larger than the specified size is clipped. */)
GCPRO4 (string, parms, frame, timeout);
CHECK_STRING (string);
if (SCHARS (string) == 0)
string = make_unibyte_string (" ", 1);
f = check_x_frame (frame);
if (NILP (timeout))
timeout = make_number (5);