emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/lisp.h


From: Ken Raeburn
Subject: [Emacs-diffs] Changes to emacs/src/lisp.h
Date: Mon, 20 May 2002 04:06:06 -0400

Index: emacs/src/lisp.h
diff -c emacs/src/lisp.h:1.419 emacs/src/lisp.h:1.420
*** emacs/src/lisp.h:1.419      Sun May 19 19:14:07 2002
--- emacs/src/lisp.h    Mon May 20 04:06:06 2002
***************
*** 871,879 ****
       enum symbol_interned.  */
    unsigned interned : 2;
  
!   /* The symbol's name.  This should become a Lisp_Object
!      some day; there's no need for the Lisp_String pointer nowadays.  */
!   struct Lisp_String *name;
  
    /* Value of the symbol or Qunbound if unbound.  If this symbol is a
       defvaralias, `value' contains the symbol for which it is an
--- 871,881 ----
       enum symbol_interned.  */
    unsigned interned : 2;
  
!   /* The symbol's name, as a Lisp string.
! 
!      The name "xname" is used to intentionally break code referring to
!      the old field "name" of type pointer to struct Lisp_String.  */
!   Lisp_Object xname;
  
    /* Value of the symbol or Qunbound if unbound.  If this symbol is a
       defvaralias, `value' contains the symbol for which it is an
***************
*** 890,895 ****
--- 892,902 ----
    /* Next symbol in obarray bucket, if the symbol is interned.  */
    struct Lisp_Symbol *next;
  };
+ 
+ /* Value is name of symbol.  */
+ 
+ #define SYMBOL_NAME(sym)  \
+      LISP_MAKE_RVALUE (XSYMBOL (sym)->xname)
  
  /* Value is non-zero if SYM is an interned symbol.  */
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]