aboutsummaryrefslogtreecommitdiffstats
path: root/src/callint.c
diff options
context:
space:
mode:
authorKen Raeburn2001-10-16 09:09:51 +0000
committerKen Raeburn2001-10-16 09:09:51 +0000
commitf3fbd1553534bb85c75baf891c0ca9aaa4c3fa6f (patch)
tree43eb51ff0ca4af1705387403827ef210098f2da8 /src/callint.c
parent018ba359ab456f6a43f3acea0c15df616aa0ad02 (diff)
downloademacs-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/callint.c')
-rw-r--r--src/callint.c6
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)
156 for (tail = exp; CONSP (tail); tail = next) 156 for (tail = exp; CONSP (tail); tail = next)
157 { 157 {
158 next = XCDR (tail); 158 next = XCDR (tail);
159 XCAR (tail) = quotify_arg (XCAR (tail)); 159 XSETCAR (tail, quotify_arg (XCAR (tail)));
160 } 160 }
161 return exp; 161 return exp;
162} 162}
@@ -358,7 +358,7 @@ supply if the command inquires which events were used to invoke it.")
358 { 358 {
359 teml = Fnthcdr (Vhistory_length, Vcommand_history); 359 teml = Fnthcdr (Vhistory_length, Vcommand_history);
360 if (CONSP (teml)) 360 if (CONSP (teml))
361 XCDR (teml) = Qnil; 361 XSETCDR (teml, Qnil);
362 } 362 }
363 } 363 }
364 single_kboard_state (); 364 single_kboard_state ();
@@ -776,7 +776,7 @@ supply if the command inquires which events were used to invoke it.")
776 { 776 {
777 teml = Fnthcdr (Vhistory_length, Vcommand_history); 777 teml = Fnthcdr (Vhistory_length, Vcommand_history);
778 if (CONSP (teml)) 778 if (CONSP (teml))
779 XCDR (teml) = Qnil; 779 XSETCDR (teml, Qnil);
780 } 780 }
781 } 781 }
782 782