Subject: bug#20184: closed (Re: bug#20184: 24.4.50; Error in Emacs manual 24.4.50)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 25 Mar 2015 05:44:02 +0000

Your bug report

#20184: 24.4.50; Error in Emacs manual 24.4.50

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
20184: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20184
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#20184: 24.4.50; Error in Emacs manual 24.4.50
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Wed, 25 Mar 2015 01:43:45 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.5

Thanks; fixed.

Subject: 24.4.50; Error in Emacs manual 24.4.50
From: Bernard Hurley <[email-masked]>
To: [email-masked]
Date: Mon, 23 Mar 2015 18:52:15 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

--------
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.