]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp.h (XSETMARKER): Remove unused macro (it doesn't work
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 29 Aug 2013 15:28:45 +0000 (19:28 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 29 Aug 2013 15:28:45 +0000 (19:28 +0400)
anyway because XMISCTYPE is a function and can't be an lvalue).

src/ChangeLog
src/lisp.h

index 4bdb6de0689e7ac758073cad8b9b6f45daff58a3..a020c1278e39b33bd2a5b9e506d9e6ec75000736 100644 (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>
 
index f3a78f48a1799447476a2b931e0b646a366dc1b6..54c0b8cf11d27921834103ad50b2734302602183 100644 (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.  */