changeset 83161:8d62eda26760

Fix byte-compile errors during bootstrap. (Reported by Juraj Kubelka.) * src/term.c (Ftty_display_color_cells): Return 0 in case of an error, not nil. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-201
author Karoly Lorentey <lorentey@elte.hu>
date Tue, 15 Jun 2004 18:46:31 +0000
parents c5bae78b527c
children dbcd0af66869
files README.multi-tty src/term.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README.multi-tty	Tue Jun 15 16:45:35 2004 +0000
+++ b/README.multi-tty	Tue Jun 15 18:46:31 2004 +0000
@@ -185,6 +185,7 @@
 Ami Fischman <ami at fischman dot org>
 Friedrich Delgado Friedrichs <friedel at nomaden dot org>
 Yoshiaki Kasahara <kasahara at nc dot kyushu-u dot ac dot jp>
+Jurej Kubelka <Juraj dot Kubelka at email dot cz>
 Istvan Marko <mi-mtty ar kismala dot com>
 Dan Nicolaescu <dann at ics dot uci dot edu>
 Gergely Nagy <algernon at debian dot org>
--- a/src/term.c	Tue Jun 15 16:45:35 2004 +0000
+++ b/src/term.c	Tue Jun 15 18:46:31 2004 +0000
@@ -1996,7 +1996,7 @@
 {
   struct display *d = get_tty_display (display);
   if (!d)
-    return Qnil;
+    return make_number (0);
   else
     return make_number (d->display_info.tty->TN_max_colors);
 }