]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_show_tip): Set string to " " if empty.
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 18 Feb 2008 08:08:32 +0000 (08:08 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 18 Feb 2008 08:08:32 +0000 (08:08 +0000)
src/ChangeLog
src/xfns.c

index 25dd28a3ea5a0816cbc015dd9def650803cda164..8f89ffede5f4e6494a9dea5584b46229967b25e9 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-18  Jan Dj\e$(Q)Z\e(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
index 0261f1b7f719fc61a9a68776d1441889362f72c6..9c2afbf6736e57f08395c4cd6b1de022c3561814 100644 (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);