unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20184: 24.4.50; Error in Emacs manual 24.4.50
@ 2015-03-23 18:52 Bernard Hurley
  2015-03-25  5:43 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Bernard Hurley @ 2015-03-23 18:52 UTC (permalink / raw)
  To: 20184


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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#20184: 24.4.50; Error in Emacs manual 24.4.50
  2015-03-23 18:52 bug#20184: 24.4.50; Error in Emacs manual 24.4.50 Bernard Hurley
@ 2015-03-25  5:43 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2015-03-25  5:43 UTC (permalink / raw)
  To: 20184-done

Version: 24.5

Thanks; fixed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-25  5:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-23 18:52 bug#20184: 24.4.50; Error in Emacs manual 24.4.50 Bernard Hurley
2015-03-25  5:43 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).