emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115199: * src/lread.c (init_lread): Fix int/Lisp_Ob


From: Stefan Monnier
Subject: [Emacs-diffs] trunk r115199: * src/lread.c (init_lread): Fix int/Lisp_Object mixup.
Date: Sat, 23 Nov 2013 03:23:26 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115199
revision-id: address@hidden
parent: address@hidden
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Fri 2013-11-22 22:23:20 -0500
message:
  * src/lread.c (init_lread): Fix int/Lisp_Object mixup.
  Please use --enable-check-lisp-object-type.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/lread.c                    lread.c-20091113204419-o5vbwnq5f7feedwu-266
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-11-23 02:58:28 +0000
+++ b/src/ChangeLog     2013-11-23 03:23:20 +0000
@@ -1,3 +1,8 @@
+2013-11-23  Stefan Monnier  <address@hidden>
+
+       * lread.c (init_lread): Fix int/Lisp_Object mixup.
+       Please use --enable-check-lisp-object-type.
+
 2013-11-23  Glenn Morris  <address@hidden>
 
        * process.c (get_process): Explicit error for dead buffers.

=== modified file 'src/lread.c'
--- a/src/lread.c       2013-11-23 01:55:16 +0000
+++ b/src/lread.c       2013-11-23 03:23:20 +0000
@@ -4341,7 +4341,7 @@
       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);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]