emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.50; assert arguments warning


From: Richard Stallman
Subject: Re: 23.0.50; assert arguments warning
Date: Thu, 17 Jan 2008 23:37:28 -0500

       (defmacro assert (form &optional show-args format-string &rest args)
       "Verify that FORM returns non-nil; signal an error if not.
    If FORMAT-STRING is nil, a default message listing FORM itself is
    used and in this case ARGS are ignored.  If SHOW-ARGS is non-nil
    this message will include the values of the arguments of FORM.

I think that last sentence is misleading

    If FORMAT-STRING is a string then this, the FORM arguments \(when
    SHOW-ARGS is non-nil) and ARGS are passed to `error'.

That addition is clear.

Would someone please fix this?


    BTW the doc string for `format' is incorrect because the name of the 
    argument STRING has not been changed in src/editfns.c.

Would someone please DTRT?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]