From: Ken Raeburn Date: Sun, 19 May 2002 23:14:24 +0000 (+0000) Subject: * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR and XCDR real X-Git-Tag: ttn-vms-21-2-B4~14991 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7340cc503b7543c86162a84c0f8bf98322450116;p=emacs.git * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR and XCDR real rvalues in most configurations. --- diff --git a/src/ChangeLog b/src/ChangeLog index e60eaf41a9e..961264c0278 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,13 @@ +2002-05-19 Ken Raeburn + + * 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 * doc.c (reread_doc_file): Don't ask for confirmation. diff --git a/src/lisp.h b/src/lisp.h index b4997f484fc..3f9cee4474d 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -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))