Function: thread-set-buffer-disposition
thread-set-buffer-disposition is a function defined in thread.c.
Signature
(thread-set-buffer-disposition THREAD VALUE)
Documentation
Set THREAD's buffer disposition.
See make-thread for the description of possible values.
Buffer disposition of the main thread cannot be modified.
Source Code
// Defined in /usr/src/emacs/src/thread.c
{
struct thread_state *tstate;
CHECK_THREAD (thread);
tstate = XTHREAD (thread);
if (main_thread_p (tstate))
CHECK_TYPE (NILP (value), Qnull, value);
tstate->buffer_disposition = value;
return value;
}