aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.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/coding.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/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 43f1867d9f8..08da1ae3dbb 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6212,7 +6212,7 @@ detect_coding_system (src, src_bytes, highest, multibytep)
6212 Lisp_Object eol; 6212 Lisp_Object eol;
6213 eol = Fget (XCAR (tmp), Qeol_type); 6213 eol = Fget (XCAR (tmp), Qeol_type);
6214 if (VECTORP (eol)) 6214 if (VECTORP (eol))
6215 XCAR (tmp) = XVECTOR (eol)->contents[eol_type]; 6215 XSETCAR (tmp, XVECTOR (eol)->contents[eol_type]);
6216 } 6216 }
6217 } 6217 }
6218 return (highest ? XCAR (val) : val); 6218 return (highest ? XCAR (val) : val);