mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
(Equality Predicates): Null strings are uniquified.
This commit is contained in:
parent
c1d2409c37
commit
f2b480f4ba
@ -1,3 +1,9 @@
|
||||
2007-10-26 Richard Stallman <rms@gnu.org>
|
||||
|
||||
* objects.texi (Equality Predicates): Null strings are uniquified.
|
||||
|
||||
* minibuf.texi: Minor clarifications in previous change.
|
||||
|
||||
2007-10-25 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* customize.texi (Variable Definitions): Add :risky and :safe keywords.
|
||||
|
@ -1871,7 +1871,7 @@ This function returns a symbol naming the primitive type of
|
||||
@cindex equality
|
||||
|
||||
Here we describe two functions that test for equality between any two
|
||||
objects. Other functions test equality between objects of specific
|
||||
objects. Other functions test equality of contents between objects of specific
|
||||
types, e.g., strings. For these predicates, see the appropriate chapter
|
||||
describing the data type.
|
||||
|
||||
@ -1904,6 +1904,13 @@ by the same change in the contents of the other.
|
||||
@result{} nil
|
||||
@end group
|
||||
|
||||
@group
|
||||
(eq "" "")
|
||||
@result{} t
|
||||
;; @r{This exception occurs because Emacs Lisp}
|
||||
;; @r{makes just one multibyte empty string, to save space.}
|
||||
@end group
|
||||
|
||||
@group
|
||||
(eq '(1 (2 (3))) '(1 (2 (3))))
|
||||
@result{} nil
|
||||
|
Loading…
Reference in New Issue
Block a user