[Top][All Lists]

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

Re: format-quote?

From: Richard Stallman
Subject: Re: format-quote?
Date: Thu, 03 Aug 2006 20:34:20 -0400

    For example, if you use (error (error-message-string foo)), it's possible
    that `error-message-string' will return something like this: "No match for
    regexp `^[^#$%>\n]*[#$%>] *\\S-.*'". Calling `error' on this directly would
    result in the (derivative) error "Not enough arguments for format string".

You should write (error "%s" (error-message-string foo)).

Are there places in Emacs now that get this wrong?

reply via email to

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