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
a044cd1f
Commit
a044cd1f
authored
Jun 25, 2005
by
Richard M. Stallman
Browse files
(Equality Predicates): Clarify meaning of equal.
parent
0adde683
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lispref/objects.texi
lispref/objects.texi
+3
-3
No files found.
lispref/objects.texi
View file @
a044cd1f
...
...
@@ -1820,8 +1820,7 @@ describing the data type.
@defun eq object1 object2
This function returns @code{t} if @var{object1} and @var{object2} are
the same object, @code{nil} otherwise. The ``same object'' means that a
change in one will be reflected by the same change in the other.
the same object, @code{nil} otherwise.
@code{eq} returns @code{t} if @var{object1} and @var{object2} are
integers with the same value. Also, since symbol names are normally
...
...
@@ -1829,7 +1828,8 @@ unique, if the arguments are symbols with the same name, they are
@code{eq}. For other types (e.g., lists, vectors, strings), two
arguments with the same contents or elements are not necessarily
@code{eq} to each other: they are @code{eq} only if they are the same
object.
object, meaning that a change in the contents of one will be reflected
by the same change in the contents of the other.
@example
@group
...
...
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