[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] test-concurrency e4df093: Fix building with check-lisp-obj
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] test-concurrency e4df093: Fix building with check-lisp-object-type |
Date: |
Sat, 10 Dec 2016 09:06:47 +0000 (UTC) |
branch: test-concurrency
commit e4df093e6058c4338a1ea885d44fd0be7f032b8c
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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 <address@hidden>.
---
src/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/thread.c b/src/thread.c
index dda2629..b2f8561 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);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] test-concurrency e4df093: Fix building with check-lisp-object-type,
Eli Zaretskii <=