diff options
| author | Ken Raeburn | 2001-10-16 09:09:51 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2001-10-16 09:09:51 +0000 |
| commit | f3fbd1553534bb85c75baf891c0ca9aaa4c3fa6f (patch) | |
| tree | 43eb51ff0ca4af1705387403827ef210098f2da8 /src/fileio.c | |
| parent | 018ba359ab456f6a43f3acea0c15df616aa0ad02 (diff) | |
| download | emacs-f3fbd1553534bb85c75baf891c0ca9aaa4c3fa6f.tar.gz emacs-f3fbd1553534bb85c75baf891c0ca9aaa4c3fa6f.zip | |
Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
with lisp system changes.
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c index 0a726a4a01a..e7b9b0aa3db 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -5499,8 +5499,8 @@ A non-nil CURRENT-ONLY argument means save only current buffer.") | |||
| 5499 | /* Arrange to close that file whether or not we get an error. | 5499 | /* Arrange to close that file whether or not we get an error. |
| 5500 | Also reset auto_saving to 0. */ | 5500 | Also reset auto_saving to 0. */ |
| 5501 | lispstream = Fcons (Qnil, Qnil); | 5501 | lispstream = Fcons (Qnil, Qnil); |
| 5502 | XSETFASTINT (XCAR (lispstream), (EMACS_UINT)stream >> 16); | 5502 | XSETCARFASTINT (lispstream, (EMACS_UINT)stream >> 16); |
| 5503 | XSETFASTINT (XCDR (lispstream), (EMACS_UINT)stream & 0xffff); | 5503 | XSETCDRFASTINT (lispstream, (EMACS_UINT)stream & 0xffff); |
| 5504 | } | 5504 | } |
| 5505 | else | 5505 | else |
| 5506 | lispstream = Qnil; | 5506 | lispstream = Qnil; |
| @@ -5939,7 +5939,7 @@ provides a file dialog box..") | |||
| 5939 | if (replace_in_history) | 5939 | if (replace_in_history) |
| 5940 | /* Replace what Fcompleting_read added to the history | 5940 | /* Replace what Fcompleting_read added to the history |
| 5941 | with what we will actually return. */ | 5941 | with what we will actually return. */ |
| 5942 | XCAR (Fsymbol_value (Qfile_name_history)) = double_dollars (val); | 5942 | XSETCAR (Fsymbol_value (Qfile_name_history), double_dollars (val)); |
| 5943 | else if (add_to_history) | 5943 | else if (add_to_history) |
| 5944 | { | 5944 | { |
| 5945 | /* Add the value to the history--but not if it matches | 5945 | /* Add the value to the history--but not if it matches |