Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9f62aeb1
Commit
9f62aeb1
authored
Jun 18, 2011
by
Paul Eggert
Browse files
* lisp.h (LIST_END_P): Remove unused macro and its bogus comment.
parent
eb49b136
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
18 deletions
+1
-18
src/ChangeLog
src/ChangeLog
+1
-0
src/lisp.h
src/lisp.h
+0
-18
No files found.
src/ChangeLog
View file @
9f62aeb1
...
...
@@ -4,6 +4,7 @@
This didn't break anything, but it didn't help either.
It's confusing to put a bogus integer in a place where the actual
value does not matter.
(LIST_END_P): Remove unused macro and its bogus comment.
2011-06-18 Paul Eggert <eggert@cs.ucla.edu>
...
...
src/lisp.h
View file @
9f62aeb1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment