From: Eli Zaretskii Date: Sat, 10 Dec 2016 09:06:23 +0000 (+0200) Subject: Fix building with check-lisp-object-type X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21^2~2169^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e4df093e6058c4338a1ea885d44fd0be7f032b8c;p=emacs.git Fix building with check-lisp-object-type * src/thread.c (mark_one_thread): Use NILP to compare with m_saved_last_thing_searched, which is a Lisp object. Reported by Andreas Politz . --- diff --git a/src/thread.c b/src/thread.c index dda262984c0..b2f8561f923 100644 --- a/src/thread.c +++ b/src/thread.c @@ -540,7 +540,7 @@ mark_one_thread (struct thread_state *thread) mark_object (thread->m_last_thing_searched); - if (thread->m_saved_last_thing_searched) + if (!NILP (thread->m_saved_last_thing_searched)) mark_object (thread->m_saved_last_thing_searched); }