Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
with lisp system changes.
This commit is contained in:
parent
018ba359ab
commit
f3fbd15535
29 changed files with 350 additions and 193 deletions
|
@ -6212,7 +6212,7 @@ detect_coding_system (src, src_bytes, highest, multibytep)
|
|||
Lisp_Object eol;
|
||||
eol = Fget (XCAR (tmp), Qeol_type);
|
||||
if (VECTORP (eol))
|
||||
XCAR (tmp) = XVECTOR (eol)->contents[eol_type];
|
||||
XSETCAR (tmp, XVECTOR (eol)->contents[eol_type]);
|
||||
}
|
||||
}
|
||||
return (highest ? XCAR (val) : val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue