GNU bug report logs - #36989
26.2; Doc string of `y-or-n-p': say it returns nil if answer is not `y' or `DEL'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 9 Aug 2019 16:45:02 UTC

Severity: minor

Tags: fixed

Found in version 24.5

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 36989 <at> debbugs.gnu.org
Subject: bug#36989: 26.2; Doc string of `y-or-n-p': say it returns nil if answer is not `y' or `DEL'
Date: Fri, 09 Aug 2019 13:02:55 -0400
Drew Adams <drew.adams <at> oracle.com> writes:

> Subject line says it all.  The doc says only that it returns `t' if the
> answer is `y'.  It should also say what it returns if the answer is no
> (not `y' or `DEL').

Did you miss where it says:

    Return t if answer is "y" and nil if it is "n".
                                  ^^^^^^^^^^^^^^^^




This bug report was last modified 5 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.