# HG changeset patch # User Miles Bader # Date 1061310013 0 # Node ID 280be897db0dbd80a1349754d2b8f62bccbe0e92 # Parent e82865497330ab6d1f120bde78e460fbb67b3123 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. diff -r e82865497330 -r 280be897db0d src/ChangeLog --- 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 + + * xterm.c (x_term_init): Correctly use result of Ffile_readable_p. + 2003-08-19 Gerd Moellmann * alloc.c (lisp_align_malloc): Check for memory full when diff -r e82865497330 -r 280be897db0d src/xterm.c --- 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;