diff options
| author | Jan Djärv | 2008-02-18 08:08:32 +0000 |
|---|---|---|
| committer | Jan Djärv | 2008-02-18 08:08:32 +0000 |
| commit | 2d7117fe05f034bf2ab796b639041504c4216ac5 (patch) | |
| tree | 3401dbfd0e03950c40572db533d96e1d2d03190c | |
| parent | 758dc0cc60a495321f03098eb363d81215ab8fbf (diff) | |
| download | emacs-2d7117fe05f034bf2ab796b639041504c4216ac5.tar.gz emacs-2d7117fe05f034bf2ab796b639041504c4216ac5.zip | |
(Fx_show_tip): Set string to " " if empty.
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xfns.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 25dd28a3ea5..8f89ffede5f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-02-18 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xfns.c (Fx_show_tip): Set string to " " if empty. | ||
| 4 | |||
| 1 | 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu> | 5 | 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 6 | ||
| 3 | * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive | 7 | * 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. */) | |||
| 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); |