Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
91930:9974c43b4820 | 91931:f7cf6a90e284 |
---|---|
5315 specbind (Qinhibit_redisplay, Qt); | 5315 specbind (Qinhibit_redisplay, Qt); |
5316 | 5316 |
5317 GCPRO4 (string, parms, frame, timeout); | 5317 GCPRO4 (string, parms, frame, timeout); |
5318 | 5318 |
5319 CHECK_STRING (string); | 5319 CHECK_STRING (string); |
5320 if (SCHARS (string) == 0) | |
5321 string = make_unibyte_string (" ", 1); | |
5322 | |
5320 f = check_x_frame (frame); | 5323 f = check_x_frame (frame); |
5321 if (NILP (timeout)) | 5324 if (NILP (timeout)) |
5322 timeout = make_number (5); | 5325 timeout = make_number (5); |
5323 else | 5326 else |
5324 CHECK_NATNUM (timeout); | 5327 CHECK_NATNUM (timeout); |