diff options
| author | Tom Tromey | 2012-08-24 09:28:02 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-24 09:28:02 -0600 |
| commit | 58c8e9a4debc3ef2c672a34d58720d5bf0530d12 (patch) | |
| tree | 2145d3f082b2a9d8b8e8a5414cebc0bd2bd903c6 | |
| parent | c2283a75564d7794fb5f604eafc6b65f71146e7f (diff) | |
| download | emacs-58c8e9a4debc3ef2c672a34d58720d5bf0530d12.tar.gz emacs-58c8e9a4debc3ef2c672a34d58720d5bf0530d12.zip | |
minor documentation updates
| -rw-r--r-- | doc/lispref/threads.texi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/lispref/threads.texi b/doc/lispref/threads.texi index 8094a68f9aa..434915cdbc2 100644 --- a/doc/lispref/threads.texi +++ b/doc/lispref/threads.texi | |||
| @@ -27,7 +27,8 @@ also to create and control mutexes and condition variables, useful for | |||
| 27 | thread synchronization. | 27 | thread synchronization. |
| 28 | 28 | ||
| 29 | While global variables are shared among all Emacs Lisp threads, | 29 | While global variables are shared among all Emacs Lisp threads, |
| 30 | local variables are not---a dynamic @code{let} binding is local. | 30 | local variables are not---a dynamic @code{let} binding is local. Each |
| 31 | thread also has its own current buffer (@pxref{Current Buffer}). | ||
| 31 | 32 | ||
| 32 | In the case of lexical bindings (@pxref{Variable Scoping}), a | 33 | In the case of lexical bindings (@pxref{Variable Scoping}), a |
| 33 | closure is an object like any other in Emacs Lisp, and bindings in a | 34 | closure is an object like any other in Emacs Lisp, and bindings in a |
| @@ -50,6 +51,9 @@ threads can be signaled. | |||
| 50 | Create a new thread of execution which invokes @var{function}. When | 51 | Create a new thread of execution which invokes @var{function}. When |
| 51 | @var{function} returns, the thread exits. | 52 | @var{function} returns, the thread exits. |
| 52 | 53 | ||
| 54 | The new thread is created with no local variable bindings in effect. | ||
| 55 | The new thread's current buffer is inherited from the current thread. | ||
| 56 | |||
| 53 | @var{name} can be supplied to give a name to the thread. The name is | 57 | @var{name} can be supplied to give a name to the thread. The name is |
| 54 | used for debugging and informational purposes only; it has no meaning | 58 | used for debugging and informational purposes only; it has no meaning |
| 55 | to Emacs. If @var{name} is provided, it must be a string. | 59 | to Emacs. If @var{name} is provided, it must be a string. |