diff options
| author | Eli Zaretskii | 2016-12-17 19:38:36 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-12-17 19:38:36 +0200 |
| commit | 0390edcb81f748d00d54d37fc4e6233a70dbda50 (patch) | |
| tree | 582be0a155ba0c21a6fde731031da058685c86ca /src | |
| parent | 0757b4f2f73daa67e5c5217964b423c6a0239e95 (diff) | |
| download | emacs-0390edcb81f748d00d54d37fc4e6233a70dbda50.tar.gz emacs-0390edcb81f748d00d54d37fc4e6233a70dbda50.zip | |
Fix comments
* src/thread.h (struct thread_state): Fix comments.
* src/process.c (wait_reading_process_output): Fix a typo in
commentary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 4 | ||||
| -rw-r--r-- | src/thread.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 31c9d74a3f2..9139a36d4fd 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4937,8 +4937,8 @@ wait_reading_process_output_1 (void) | |||
| 4937 | READ_KBD is: | 4937 | READ_KBD is: |
| 4938 | 0 to ignore keyboard input, or | 4938 | 0 to ignore keyboard input, or |
| 4939 | 1 to return when input is available, or | 4939 | 1 to return when input is available, or |
| 4940 | -1 meaning caller will actually read the input, so don't throw to | 4940 | -1 meaning caller will actually read the input, so don't throw to |
| 4941 | the quit handler, or | 4941 | the quit handler |
| 4942 | 4942 | ||
| 4943 | DO_DISPLAY means redisplay should be done to show subprocess | 4943 | DO_DISPLAY means redisplay should be done to show subprocess |
| 4944 | output that arrives. | 4944 | output that arrives. |
diff --git a/src/thread.h b/src/thread.h index 739069a630b..e6084b13c22 100644 --- a/src/thread.h +++ b/src/thread.h | |||
| @@ -78,7 +78,7 @@ struct thread_state | |||
| 78 | /* Chain of condition handlers currently in effect. | 78 | /* Chain of condition handlers currently in effect. |
| 79 | The elements of this chain are contained in the stack frames | 79 | The elements of this chain are contained in the stack frames |
| 80 | of Fcondition_case and internal_condition_case. | 80 | of Fcondition_case and internal_condition_case. |
| 81 | When an error is signaled (by calling Fsignal, below), | 81 | When an error is signaled (by calling Fsignal), |
| 82 | this chain is searched for an element that applies. */ | 82 | this chain is searched for an element that applies. */ |
| 83 | struct handler *m_handlerlist; | 83 | struct handler *m_handlerlist; |
| 84 | #define handlerlist (current_thread->m_handlerlist) | 84 | #define handlerlist (current_thread->m_handlerlist) |
| @@ -143,7 +143,7 @@ struct thread_state | |||
| 143 | Lisp_Object m_re_match_object; | 143 | Lisp_Object m_re_match_object; |
| 144 | #define re_match_object (current_thread->m_re_match_object) | 144 | #define re_match_object (current_thread->m_re_match_object) |
| 145 | 145 | ||
| 146 | /* This variable is different from waiting_for_input in keyboard.c. | 146 | /* This member is different from waiting_for_input. |
| 147 | It is used to communicate to a lisp process-filter/sentinel (via the | 147 | It is used to communicate to a lisp process-filter/sentinel (via the |
| 148 | function Fwaiting_for_user_input_p) whether Emacs was waiting | 148 | function Fwaiting_for_user_input_p) whether Emacs was waiting |
| 149 | for user-input when that process-filter was called. | 149 | for user-input when that process-filter was called. |