From: Jan Djärv Date: Mon, 18 Feb 2008 08:08:32 +0000 (+0000) Subject: (Fx_show_tip): Set string to " " if empty. X-Git-Tag: emacs-pretest-23.0.90~7878 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d7117fe05f034bf2ab796b639041504c4216ac5;p=emacs.git (Fx_show_tip): Set string to " " if empty. --- diff --git a/src/ChangeLog b/src/ChangeLog index 25dd28a3ea5..8f89ffede5f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-02-18 Jan Dj$(Q)Z(Brv + + * xfns.c (Fx_show_tip): Set string to " " if empty. + 2008-02-17 Dan Nicolaescu * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive diff --git a/src/xfns.c b/src/xfns.c index 0261f1b7f71..9c2afbf6736 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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);