From bb534f6afe95723f226117eb52e184838bae4c6a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 11 Jun 2017 17:05:03 -0700 Subject: [PATCH] Remove Lisp_Misc_Float * src/data.c (Ftype_of): Do not worry about Lisp_Misc_Float. * src/lisp.h (Lisp_Misc_Float): Remove. This placeholder has been unused for two decades; if we ever want to change floats to be a misc type we can bring it back then. --- src/data.c | 2 -- src/lisp.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/data.c b/src/data.c index e4e55290e62..559844b03fd 100644 --- a/src/data.c +++ b/src/data.c @@ -228,8 +228,6 @@ for example, (type-of 1) returns `integer'. */) return Qmarker; case Lisp_Misc_Overlay: return Qoverlay; - case Lisp_Misc_Float: - return Qfloat; case Lisp_Misc_Finalizer: return Qfinalizer; #ifdef HAVE_MODULES diff --git a/src/lisp.h b/src/lisp.h index 900c7c5cc3f..ade188fd209 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -466,9 +466,6 @@ enum Lisp_Misc_Type #ifdef HAVE_MODULES Lisp_Misc_User_Ptr, #endif - /* Currently floats are not a misc type, - but let's define this in case we want to change that. */ - Lisp_Misc_Float, /* This is not a type code. It is for range checking. */ Lisp_Misc_Limit }; -- 2.39.2