diff options
| author | Karl Heuer | 1994-11-11 07:33:46 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-11-11 07:33:46 +0000 |
| commit | fdc6e51676c4e9b498b7ddc238e9860d4da13fd6 (patch) | |
| tree | 473ed12c9b5841685b92f469c39d064de51fdb33 /src | |
| parent | 7d65f1c2f8c653fa9d11582f6620b4abf47903de (diff) | |
| download | emacs-fdc6e51676c4e9b498b7ddc238e9860d4da13fd6.tar.gz emacs-fdc6e51676c4e9b498b7ddc238e9860d4da13fd6.zip | |
(set_buffer_internal): Use XBUFFER_LOCAL_VALUE, not XCONS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index 8abaf1d54cf..1b4a885f5e5 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1000,7 +1000,7 @@ set_buffer_internal (b) | |||
| 1000 | valcontents = XSYMBOL (XCONS (XCONS (tail)->car)->car)->value; | 1000 | valcontents = XSYMBOL (XCONS (XCONS (tail)->car)->car)->value; |
| 1001 | if ((BUFFER_LOCAL_VALUEP (valcontents) | 1001 | if ((BUFFER_LOCAL_VALUEP (valcontents) |
| 1002 | || SOME_BUFFER_LOCAL_VALUEP (valcontents)) | 1002 | || SOME_BUFFER_LOCAL_VALUEP (valcontents)) |
| 1003 | && (tem = XCONS (valcontents)->car, | 1003 | && (tem = XBUFFER_LOCAL_VALUE (valcontents)->car, |
| 1004 | (BOOLFWDP (tem) || INTFWDP (tem) || OBJFWDP (tem)))) | 1004 | (BOOLFWDP (tem) || INTFWDP (tem) || OBJFWDP (tem)))) |
| 1005 | /* Just reference the variable | 1005 | /* Just reference the variable |
| 1006 | to cause it to become set for this buffer. */ | 1006 | to cause it to become set for this buffer. */ |
| @@ -1015,7 +1015,7 @@ set_buffer_internal (b) | |||
| 1015 | valcontents = XSYMBOL (XCONS (XCONS (tail)->car)->car)->value; | 1015 | valcontents = XSYMBOL (XCONS (XCONS (tail)->car)->car)->value; |
| 1016 | if ((BUFFER_LOCAL_VALUEP (valcontents) | 1016 | if ((BUFFER_LOCAL_VALUEP (valcontents) |
| 1017 | || SOME_BUFFER_LOCAL_VALUEP (valcontents)) | 1017 | || SOME_BUFFER_LOCAL_VALUEP (valcontents)) |
| 1018 | && (tem = XCONS (valcontents)->car, | 1018 | && (tem = XBUFFER_LOCAL_VALUE (valcontents)->car, |
| 1019 | (BOOLFWDP (tem) || INTFWDP (tem) || OBJFWDP (tem)))) | 1019 | (BOOLFWDP (tem) || INTFWDP (tem) || OBJFWDP (tem)))) |
| 1020 | /* Just reference the variable | 1020 | /* Just reference the variable |
| 1021 | to cause it to become set for this buffer. */ | 1021 | to cause it to become set for this buffer. */ |