summaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h
index 91bab8284e6..a089c7de573 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -134,7 +134,11 @@ struct thread_state
#define saved_search_regs (current_thread->m_saved_search_regs)
/* This is the string or buffer in which we
- are matching. It is used for looking up syntax properties. */
+ are matching. It is used for looking up syntax properties.
+
+ If the value is a Lisp string object, we are matching text in that
+ string; if it's nil, we are matching text in the current buffer; if
+ it's t, we are matching text in a C string. */
Lisp_Object m_re_match_object;
#define re_match_object (current_thread->m_re_match_object)