* src/lread.c (init_lread): Fix int/Lisp_Object mixup.

Please use --enable-check-lisp-object-type.
This commit is contained in:
Stefan Monnier 2013-11-22 22:23:20 -05:00
parent 09b0f3d9cf
commit 2c98e669ef
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
* lread.c (init_lread): Fix int/Lisp_Object mixup.
Please use --enable-check-lisp-object-type.
2013-11-23 Glenn Morris <rgm@gnu.org>
* process.c (get_process): Explicit error for dead buffers.

View file

@ -4341,7 +4341,7 @@ init_lread (void)
load_path_check (Vload_path);
/* Replace any nil elements from the environment with the default. */
if (Fmemq (Qnil, Vload_path))
if (!NILP (Fmemq (Qnil, Vload_path)))
{
Lisp_Object lpath = Vload_path;
Lisp_Object elem, default_lpath = load_path_default (1);