diff options
author | Ken Raeburn <raeburn@raeburn.org> | 2001-10-16 09:09:51 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@raeburn.org> | 2001-10-16 09:09:51 +0000 |
commit | f3fbd1553534bb85c75baf891c0ca9aaa4c3fa6f (patch) | |
tree | 43eb51ff0ca4af1705387403827ef210098f2da8 /src/callint.c | |
parent | 018ba359ab456f6a43f3acea0c15df616aa0ad02 (diff) | |
download | emacs-f3fbd1553534bb85c75baf891c0ca9aaa4c3fa6f.tar.gz |
Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
with lisp system changes.
Diffstat (limited to 'src/callint.c')
-rw-r--r-- | src/callint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/callint.c b/src/callint.c index 54ad0c2cf7e..329911cda6e 100644 --- a/src/callint.c +++ b/src/callint.c @@ -156,7 +156,7 @@ quotify_args (exp) for (tail = exp; CONSP (tail); tail = next) { next = XCDR (tail); - XCAR (tail) = quotify_arg (XCAR (tail)); + XSETCAR (tail, quotify_arg (XCAR (tail))); } return exp; } @@ -358,7 +358,7 @@ supply if the command inquires which events were used to invoke it.") { teml = Fnthcdr (Vhistory_length, Vcommand_history); if (CONSP (teml)) - XCDR (teml) = Qnil; + XSETCDR (teml, Qnil); } } single_kboard_state (); @@ -776,7 +776,7 @@ supply if the command inquires which events were used to invoke it.") { teml = Fnthcdr (Vhistory_length, Vcommand_history); if (CONSP (teml)) - XCDR (teml) = Qnil; + XSETCDR (teml, Qnil); } } |