Mercurial > emacs
diff src/xfns.c @ 91931:f7cf6a90e284
(Fx_show_tip): Set string to " " if empty.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Mon, 18 Feb 2008 08:08:23 +0000 |
parents | 153651069fb2 |
children | 4d9fc08769fa |
line wrap: on
line diff
--- a/src/xfns.c Mon Feb 18 07:46:44 2008 +0000 +++ b/src/xfns.c Mon Feb 18 08:08:23 2008 +0000 @@ -5317,6 +5317,9 @@ 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);