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
72ff76bb
Commit
72ff76bb
authored
Feb 03, 2013
by
Glenn Morris
Browse files
* doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry.
parent
d23b0804
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
doc/misc/ChangeLog
doc/misc/ChangeLog
+4
-0
doc/misc/cl.texi
doc/misc/cl.texi
+4
-2
No files found.
doc/misc/ChangeLog
View file @
72ff76bb
2013-02-03 Glenn Morris <rgm@gnu.org>
* cl.texi (Equality Predicates): Fix eq/eql pedantry.
2013-01-13 Bastien Guerry <bzg@gnu.org>
* org.texi (Installation): Simplify.
...
...
doc/misc/cl.texi
View file @
72ff76bb
...
...
@@ -817,8 +817,10 @@ not compare strings against vectors of integers.
Also note that the Common Lisp functions @code{member} and @code{assoc}
use @code{eql} to compare elements, whereas Emacs Lisp follows the
MacLisp tradition and uses @code{equal} for these two functions.
In Emacs, use @code{memq} (or @code{cl-member}) and @code{assq} (or
@code{cl-assoc}) to get functions which use @code{eql} for comparisons.
The functions @code{cl-member} and @code{cl-assoc} use @code{eql},
as in Common Lisp. The standard Emacs Lisp functions @code{memq} and
@code{assq} use @code{eq}, so you can use these if you do not care
about the difference between @code{eq} and @code{eql}.
@node Control Structure
@chapter Control Structure
...
...
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