summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-18 17:09:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-18 17:09:24 -0700
commit9f62aeb1857ab012244be221b1e6e13451fb394d (patch)
treeb4af580d65a1d61f43dcd8a04a6a73108c957986 /src/lisp.h
parenteb49b13608d6cf06af52c7d9fe88928a48f48cee (diff)
downloademacs-9f62aeb1857ab012244be221b1e6e13451fb394d.tar.gz
emacs-9f62aeb1857ab012244be221b1e6e13451fb394d.tar.bz2
emacs-9f62aeb1857ab012244be221b1e6e13451fb394d.zip
* lisp.h (LIST_END_P): Remove unused macro and its bogus comment.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lisp.h b/src/lisp.h
index e065bad10d0..54c509125f8 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3590,24 +3590,6 @@ extern void init_system_name (void);
#define SWITCH_ENUM_CAST(x) (x)
-/* Loop over Lisp list LIST. Signal an error if LIST is not a proper
- list, or if it contains circles.
-
- HARE and TORTOISE should be the names of Lisp_Object variables, and
- N should be the name of an EMACS_INT variable declared in the
- function where the macro is used. Each nested loop should use
- its own variables.
-
- In the loop body, HARE is set to each cons of LIST, and N is the
- length of the list processed so far. */
-
-#define LIST_END_P(list, obj) \
- (NILP (obj) \
- ? 1 \
- : (CONSP (obj) \
- ? 0 \
- : (wrong_type_argument (Qlistp, (list))), 1))
-
/* Use this to suppress gcc's warnings. */
#ifdef lint