diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-07 17:37:21 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-07 17:37:21 +0400 |
commit | c644523bd8a23e518c91b61a1b8520e866b715b9 (patch) | |
tree | 60fae47e02ad6c87b5e657110606255e849ecf77 /src/buffer.h | |
parent | 6a3d20cc46da1e59f230923056b6b351acb097b9 (diff) | |
download | emacs-c644523bd8a23e518c91b61a1b8520e866b715b9.tar.gz emacs-c644523bd8a23e518c91b61a1b8520e866b715b9.tar.bz2 emacs-c644523bd8a23e518c91b61a1b8520e866b715b9.zip |
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.
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.h b/src/buffer.h index 54e7ef288ed..9618fc6ded1 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -991,15 +991,15 @@ BUF_FETCH_MULTIBYTE_CHAR (struct buffer *buf, ptrdiff_t pos) /* Return the marker that stands for where OV starts in the buffer. */ -#define OVERLAY_START(OV) MVAR (XOVERLAY (OV), start) +#define OVERLAY_START(OV) XOVERLAY (OV)->start /* Return the marker that stands for where OV ends in the buffer. */ -#define OVERLAY_END(OV) MVAR (XOVERLAY (OV), end) +#define OVERLAY_END(OV) XOVERLAY (OV)->end /* Return the plist of overlay OV. */ -#define OVERLAY_PLIST(OV) MVAR (XOVERLAY (OV), plist) +#define OVERLAY_PLIST(OV) XOVERLAY (OV)->plist /* Return the actual buffer position for the marker P. We assume you know which buffer it's pointing into. */ |