* lisp.h (XSETMARKER): Remove unused macro (it doesn't work

anyway because XMISCTYPE is a function and can't be an lvalue).
This commit is contained in:
Dmitry Antipov 2013-08-29 19:28:45 +04:00
parent 101ed2bbbd
commit 20de2834a5
2 changed files with 2 additions and 4 deletions

View file

@ -2,6 +2,8 @@
* alloc.c (Fmake_marker, build_marker): Zero need_adjustment
field of new marker (for sanity and safety).
* lisp.h (XSETMARKER): Remove unused macro (it doesn't work
anyway because XMISCTYPE is a function and can't be an lvalue).
2013-08-29 Dmitry Antipov <dmantipov@yandex.ru>

View file

@ -866,11 +866,7 @@ make_lisp_proc (struct Lisp_Process *p)
#define XSETSTRING(a, b) ((a) = make_lisp_ptr (b, Lisp_String))
#define XSETSYMBOL(a, b) ((a) = make_lisp_ptr (b, Lisp_Symbol))
#define XSETFLOAT(a, b) ((a) = make_lisp_ptr (b, Lisp_Float))
/* Misc types. */
#define XSETMISC(a, b) ((a) = make_lisp_ptr (b, Lisp_Misc))
#define XSETMARKER(a, b) (XSETMISC (a, b), XMISCTYPE (a) = Lisp_Misc_Marker)
/* Pseudovector types. */