mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 19:31:02 -08:00
(set_buffer_internal): Use XBUFFER_LOCAL_VALUE, not XCONS.
This commit is contained in:
parent
7d65f1c2f8
commit
fdc6e51676
1 changed files with 2 additions and 2 deletions
|
|
@ -1000,7 +1000,7 @@ set_buffer_internal (b)
|
|||
valcontents = XSYMBOL (XCONS (XCONS (tail)->car)->car)->value;
|
||||
if ((BUFFER_LOCAL_VALUEP (valcontents)
|
||||
|| SOME_BUFFER_LOCAL_VALUEP (valcontents))
|
||||
&& (tem = XCONS (valcontents)->car,
|
||||
&& (tem = XBUFFER_LOCAL_VALUE (valcontents)->car,
|
||||
(BOOLFWDP (tem) || INTFWDP (tem) || OBJFWDP (tem))))
|
||||
/* Just reference the variable
|
||||
to cause it to become set for this buffer. */
|
||||
|
|
@ -1015,7 +1015,7 @@ set_buffer_internal (b)
|
|||
valcontents = XSYMBOL (XCONS (XCONS (tail)->car)->car)->value;
|
||||
if ((BUFFER_LOCAL_VALUEP (valcontents)
|
||||
|| SOME_BUFFER_LOCAL_VALUEP (valcontents))
|
||||
&& (tem = XCONS (valcontents)->car,
|
||||
&& (tem = XBUFFER_LOCAL_VALUE (valcontents)->car,
|
||||
(BOOLFWDP (tem) || INTFWDP (tem) || OBJFWDP (tem))))
|
||||
/* Just reference the variable
|
||||
to cause it to become set for this buffer. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue