comparison src/lisp.h @ 732:a8d94735277e

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Tue, 30 Jun 1992 13:54:21 +0000
parents 86cb5db0b6c3
children e4093444f9f8
comparison
equal deleted inserted replaced
731:5c6db33a9ef6 732:a8d94735277e
95 You must do *(FILE **) XPNTR(obj) to get the value. 95 You must do *(FILE **) XPNTR(obj) to get the value.
96 The user will never see this data type. */ 96 The user will never see this data type. */
97 Lisp_Internal_Stream, 97 Lisp_Internal_Stream,
98 98
99 /* Used in a symbol value cell when the symbol's value is per-buffer. 99 /* Used in a symbol value cell when the symbol's value is per-buffer.
100 The actual contents are a cons cell which starts a list like this: 100 The actual contents are a cons cell which starts a list like this:
101 (REALVALUE BUFFER CURRENT-ALIST-ELEMENT . DEFAULT-VALUE)). 101 (REALVALUE BUFFER CURRENT-ALIST-ELEMENT . DEFAULT-VALUE).
102 102
103 BUFFER is the last buffer for which this symbol's value was 103 BUFFER is the last buffer for which this symbol's value was
104 made up to date. 104 made up to date.
105 105
106 CURRENT-ALIST-ELEMENT is a pointer to an element of BUFFER's 106 CURRENT-ALIST-ELEMENT is a pointer to an element of BUFFER's
107 b_local_var_alist, that being the element whose car is this variable. 107 local_var_alist, that being the element whose car is this
108 Or it can be a pointer to the (CURRENT-ALIST-ELEMENT . DEFAULT-VALUE), if BUFFER 108 variable. Or it can be a pointer to the
109 does not have an element in its alist for this variable 109 (CURRENT-ALIST-ELEMENT . DEFAULT-VALUE),
110 (that is, if BUFFER sees the default value of this variable). 110 if BUFFER does not have an element in its alist for this
111 111 variable (that is, if BUFFER sees the default value of this
112 If we want to examine or set the value and BUFFER is current, 112 variable).
113 we just examine or set REALVALUE. 113
114 If BUFFER is not current, we store the current REALVALUE value into 114 If we want to examine or set the value and BUFFER is current,
115 CURRENT-ALIST-ELEMENT, then find the appropriate alist element for 115 we just examine or set REALVALUE. If BUFFER is not current, we
116 the buffer now current and set up CURRENT-ALIST-ELEMENT. 116 store the current REALVALUE value into CURRENT-ALIST-ELEMENT,
117 Then we set REALVALUE out of that element, and store into BUFFER. 117 then find the appropriate alist element for the buffer now
118 118 current and set up CURRENT-ALIST-ELEMENT. Then we set
119 If we are setting the variable and the current buffer does not have 119 REALVALUE out of that element, and store into BUFFER.
120 an alist entry for this variable, an alist entry is created. 120
121 121 If we are setting the variable and the current buffer does not
122 Note that REALVALUE can be a forwarding pointer. 122 have an alist entry for this variable, an alist entry is
123 Each time it is examined or set, forwarding must be done. */ 123 created.
124
125 Note that REALVALUE can be a forwarding pointer. Each time it
126 is examined or set, forwarding must be done. */
124 Lisp_Buffer_Local_Value, 127 Lisp_Buffer_Local_Value,
125 128
126 /* Like Lisp_Buffer_Local_Value with one difference: 129 /* Like Lisp_Buffer_Local_Value with one difference:
127 merely setting the variable while some buffer is current 130 merely setting the variable while some buffer is current
128 does not cause that buffer to have its own local value of this variable. 131 does not cause that buffer to have its own local value of this variable.