--- Begin Message ---
Subject: |
24.4.50; Error in Emacs manual 24.4.50 |
Date: |
Mon, 23 Mar 2015 18:52:15 +0000 |
--------
In the emacs manual version 24.4.50 section "2.7 Equality Predicates" the
passage:
------------- snip --------------
-- Function: equal-including-properties object1 object2
This function behaves like `equal' in all cases but also requires
that for two strings to be equal, they have the same text
properties.
(equal "asdf" (propertize "asdf" '(asdf t)))
=> t
(equal-including-properties "asdf"
(propertize "asdf" '(asdf t)))
=> nil
------------- snip --------------
probably should read:
------------- snip --------------
-- Function: equal-including-properties object1 object2
This function behaves like `equal' in all cases but also requires
that for two strings to be equal, they have the same text
properties.
(equal "asdf" (propertize "asdf" 'asdf t))
=> t
(equal-including-properties "asdf"
(propertize "asdf" 'asdf t))
=> nil
------------- snip --------------
In other words the two occurrences of:
'(asdf t)
cause
*** Eval error *** Wrong number of arguments
I assume that what was meant in each case is:
'asdf t
Regards,
Bernard.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#20184: 24.4.50; Error in Emacs manual 24.4.50 |
Date: |
Wed, 25 Mar 2015 01:43:45 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 24.5
Thanks; fixed.
--- End Message ---