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
6bafe8bc
Commit
6bafe8bc
authored
Feb 11, 2008
by
Glenn Morris
Browse files
Lawrence Mitchell <wence at gmx.li> (tiny change)
(Equality Predicates): Add defun for equal-including-properties.
parent
d6a72cc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
lispref/objects.texi
lispref/objects.texi
+17
-0
No files found.
lispref/objects.texi
View file @
6bafe8bc
...
...
@@ -2032,6 +2032,23 @@ returns @code{t} if and only if both the expressions below return
Because of this recursive method, circular lists may therefore cause
infinite recursion (leading to an error).
@defun equal-including-properties object1 object2
This function behaves like @code{equal} in all cases but also requires
that for two strings to be equal, they have the same text properties.
@example
@group
(equal "asdf" (propertize "asdf" '(asdf t)))
@result{} t
@end group
@group
(equal-including-properties "asdf"
(propertize "asdf" '(asdf t)))
@result{} nil
@end group
@end example
@end defun
@ignore
arch-tag: 9711a66e-4749-4265-9e8c-972d55b67096
@end ignore
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