Subject: 24.4.50; Error in Emacs manual 24.4.50

From: Bernard Hurley <[email-masked]>
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.