]> git.eshelyaron.com Git - emacs.git/commit
Revert and cleanup Lisp_Cons, Lisp_Misc and Lisp_Symbol things.
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 7 Aug 2012 13:37:21 +0000 (17:37 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 7 Aug 2012 13:37:21 +0000 (17:37 +0400)
commitc644523bd8a23e518c91b61a1b8520e866b715b9
tree60fae47e02ad6c87b5e657110606255e849ecf77
parent6a3d20cc46da1e59f230923056b6b351acb097b9
Revert and cleanup Lisp_Cons, Lisp_Misc and Lisp_Symbol things.
* src/lisp.h (struct Lisp_Symbol): Change xname to meaningful
name since all xname users are fixed long time ago.  Do not use
INTERNAL_FIELD.
(set_symbol_name, set_symbol_function, set_symbol_plist):
(set_symbol_next, set_overlay_plist): New function.
(struct Lisp_Cons): Do not use INTERNAL_FIELD.
(struct Lisp_Overlay): Likewise.
(CVAR, MVAR, SVAR): Remove.
* src/alloc.c, src/buffer.c, src/buffer.h, src/bytecode.c:
* src/cmds.c, src/data.c, src/doc.c, src/eval.c, src/fns.c:
* src/keyboard.c, src/lread.c, src/nsselect.m, src/xterm.c:
Adjust users.
* src/.gdbinit: Change to use name field of struct Lisp_Symbol
where appropriate.
* admin/coccinelle/overlay.cocci, admin/coccinelle/symbol.cocci:
Remove.
19 files changed:
admin/ChangeLog
admin/coccinelle/overlay.cocci [deleted file]
admin/coccinelle/symbol.cocci [deleted file]
src/.gdbinit
src/ChangeLog
src/alloc.c
src/buffer.c
src/buffer.h
src/bytecode.c
src/cmds.c
src/data.c
src/doc.c
src/eval.c
src/fns.c
src/keyboard.c
src/lisp.h
src/lread.c
src/nsselect.m
src/xterm.c