diff options
author | Tom Tromey <tromey@redhat.com> | 2013-08-27 12:29:56 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-08-27 12:29:56 -0600 |
commit | 6a64a7118d4b0c13789bbe69f2575dd9c1c88524 (patch) | |
tree | 114de34eb145769d9ace6a34760b235a1d3af780 /src/thread.c | |
parent | 5b05b5a6bc5a3293e692d9db969e8a24aa80f1a6 (diff) | |
download | emacs-6a64a7118d4b0c13789bbe69f2575dd9c1c88524.tar.gz |
make thread_check_current_buffer return bool
Diffstat (limited to 'src/thread.c')
-rw-r--r-- | src/thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/thread.c b/src/thread.c index ae2212e697d..20d0568bef5 100644 --- a/src/thread.c +++ b/src/thread.c @@ -882,7 +882,7 @@ DEFUN ("all-threads", Fall_threads, Sall_threads, 0, 0, 0, -int +bool thread_check_current_buffer (struct buffer *buffer) { struct thread_state *iter; @@ -893,10 +893,10 @@ thread_check_current_buffer (struct buffer *buffer) continue; if (iter->m_current_buffer == buffer) - return 1; + return true; } - return 0; + return false; } |