From 0390edcb81f748d00d54d37fc4e6233a70dbda50 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 17 Dec 2016 19:38:36 +0200 Subject: [PATCH] Fix comments * src/thread.h (struct thread_state): Fix comments. * src/process.c (wait_reading_process_output): Fix a typo in commentary. --- src/process.c | 4 ++-- 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) READ_KBD is: 0 to ignore keyboard input, or 1 to return when input is available, or - -1 meaning caller will actually read the input, so don't throw to - the quit handler, or + -1 meaning caller will actually read the input, so don't throw to + the quit handler DO_DISPLAY means redisplay should be done to show subprocess 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 /* Chain of condition handlers currently in effect. The elements of this chain are contained in the stack frames of Fcondition_case and internal_condition_case. - When an error is signaled (by calling Fsignal, below), + When an error is signaled (by calling Fsignal), this chain is searched for an element that applies. */ struct handler *m_handlerlist; #define handlerlist (current_thread->m_handlerlist) @@ -143,7 +143,7 @@ struct thread_state Lisp_Object m_re_match_object; #define re_match_object (current_thread->m_re_match_object) - /* This variable is different from waiting_for_input in keyboard.c. + /* This member is different from waiting_for_input. It is used to communicate to a lisp process-filter/sentinel (via the function Fwaiting_for_user_input_p) whether Emacs was waiting for user-input when that process-filter was called. -- 2.39.2