diff options
| author | Tom Tromey | 2013-08-27 12:29:56 -0600 |
|---|---|---|
| committer | Tom Tromey | 2013-08-27 12:29:56 -0600 |
| commit | 6a64a7118d4b0c13789bbe69f2575dd9c1c88524 (patch) | |
| tree | 114de34eb145769d9ace6a34760b235a1d3af780 /src/thread.c | |
| parent | 5b05b5a6bc5a3293e692d9db969e8a24aa80f1a6 (diff) | |
| download | emacs-6a64a7118d4b0c13789bbe69f2575dd9c1c88524.tar.gz emacs-6a64a7118d4b0c13789bbe69f2575dd9c1c88524.zip | |
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, | |||
| 882 | 882 | ||
| 883 | 883 | ||
| 884 | 884 | ||
| 885 | int | 885 | bool |
| 886 | thread_check_current_buffer (struct buffer *buffer) | 886 | thread_check_current_buffer (struct buffer *buffer) |
| 887 | { | 887 | { |
| 888 | struct thread_state *iter; | 888 | struct thread_state *iter; |
| @@ -893,10 +893,10 @@ thread_check_current_buffer (struct buffer *buffer) | |||
| 893 | continue; | 893 | continue; |
| 894 | 894 | ||
| 895 | if (iter->m_current_buffer == buffer) | 895 | if (iter->m_current_buffer == buffer) |
| 896 | return 1; | 896 | return true; |
| 897 | } | 897 | } |
| 898 | 898 | ||
| 899 | return 0; | 899 | return false; |
| 900 | } | 900 | } |
| 901 | 901 | ||
| 902 | 902 | ||