]> git.eshelyaron.com Git - emacs.git/commitdiff
minor documentation updates
authorTom Tromey <tromey@redhat.com>
Fri, 24 Aug 2012 15:28:02 +0000 (09:28 -0600)
committerTom Tromey <tromey@redhat.com>
Fri, 24 Aug 2012 15:28:02 +0000 (09:28 -0600)
doc/lispref/threads.texi

index 8094a68f9aa190fae71b1df68c6e8ac05d00c3ec..434915cdbc20d44d92f944b35ae58882464647f9 100644 (file)
@@ -27,7 +27,8 @@ also to create and control mutexes and condition variables, useful for
 thread synchronization.
 
   While global variables are shared among all Emacs Lisp threads,
-local variables are not---a dynamic @code{let} binding is local.
+local variables are not---a dynamic @code{let} binding is local.  Each
+thread also has its own current buffer (@pxref{Current Buffer}).
 
   In the case of lexical bindings (@pxref{Variable Scoping}), a
 closure is an object like any other in Emacs Lisp, and bindings in a
@@ -50,6 +51,9 @@ threads can be signaled.
 Create a new thread of execution which invokes @var{function}.  When
 @var{function} returns, the thread exits.
 
+The new thread is created with no local variable bindings in effect.
+The new thread's current buffer is inherited from the current thread.
+
 @var{name} can be supplied to give a name to the thread.  The name is
 used for debugging and informational purposes only; it has no meaning
 to Emacs.  If @var{name} is provided, it must be a string.