]> code.delx.au - gnu-emacs/commitdiff
* lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR and XCDR real
authorKen Raeburn <raeburn@raeburn.org>
Sun, 19 May 2002 23:14:24 +0000 (23:14 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Sun, 19 May 2002 23:14:24 +0000 (23:14 +0000)
rvalues in most configurations.

src/ChangeLog
src/lisp.h

index e60eaf41a9efed9f1e7b64372a2ac65adae0917d..961264c0278255b2d0afc9b3c3f455f53a9da7ee 100644 (file)
@@ -1,3 +1,13 @@
+2002-05-19  Ken Raeburn  <raeburn@gnu.org>
+
+       * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR
+       and XCDR real rvalues in most configurations.
+
+       * buffer.c (fix_overlays_in_range, fix_overlays_before): Don't
+       take the address of the cdr part of a cons cell; instead, track
+       the parent cell and call XSETCDR, or set the variable for the head
+       of the list if we haven't started down the list yet.
+
 2002-05-19  Richard M. Stallman  <rms@gnu.org>
 
        * doc.c (reread_doc_file): Don't ask for confirmation.
index b4997f484fc8e7c2aad06848845d69728a7b604d..3f9cee4474d016914f7fd17985133a3f4012d153 100644 (file)
@@ -629,11 +629,6 @@ struct Lisp_Cons
 #define XCDR_AS_LVALUE(c) (XCONS ((c))->cdr)
 #endif
 
-/* Okay, we're not quite ready to turn this on yet.  A few files still
-   need to be updated and tested.  */
-#undef LISP_MAKE_RVALUE
-#define LISP_MAKE_RVALUE(x) (x)
-
 /* Use these from normal code.  */
 #define XCAR(c)        LISP_MAKE_RVALUE(XCAR_AS_LVALUE(c))
 #define XCDR(c) LISP_MAKE_RVALUE(XCDR_AS_LVALUE(c))