changeset 52258:280be897db0d

Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-20 src/xterm.c (x_term_init): Correctly use result of Ffile_readable_p.
author Miles Bader <miles@gnu.org>
date Tue, 19 Aug 2003 16:20:13 +0000
parents e82865497330
children 34e5aee6689a
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Aug 19 12:58:35 2003 +0000
+++ b/src/ChangeLog	Tue Aug 19 16:20:13 2003 +0000
@@ -1,3 +1,7 @@
+2003-08-19  Miles Bader  <miles@gnu.org>
+
+	* xterm.c (x_term_init): Correctly use result of Ffile_readable_p.
+
 2003-08-19  Gerd Moellmann  <gerd@gnu.org>
 
 	* alloc.c (lisp_align_malloc): Check for memory full when
--- a/src/xterm.c	Tue Aug 19 12:58:35 2003 +0000
+++ b/src/xterm.c	Tue Aug 19 16:20:13 2003 +0000
@@ -10194,7 +10194,7 @@
       s = make_string (file, strlen (file));
       abs_file = Fexpand_file_name(s, Qnil);
 
-      if (! NILP (abs_file) && Ffile_readable_p (abs_file))
+      if (! NILP (abs_file) && !NILP (Ffile_readable_p (abs_file)))
         gtk_rc_parse (SDATA (abs_file));
 
       UNGCPRO;