diff options
author | Jim Blandy <jimb@redhat.com> | 1993-03-14 20:56:05 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-03-14 20:56:05 +0000 |
commit | 6a8a9750e8121d30aff8e7cddbb67d4c39604e69 (patch) | |
tree | 98bba4eee0f451476fc2ed8bd705cc522cb97749 /src/fns.c | |
parent | da33ff575d5279e6de3b90771a385789d3e2dc8b (diff) | |
download | emacs-6a8a9750e8121d30aff8e7cddbb67d4c39604e69.tar.gz |
* fns.c (Fy_or_n_p): Display the answer.
Diffstat (limited to 'src/fns.c')
-rw-r--r-- | src/fns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c index 21dd3cf6671..75c0dfbf8a5 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1150,6 +1150,9 @@ Also accepts Space to mean yes, or Delete to mean no.") } } UNGCPRO; + + message ("%s(y or n) %c", XSTRING (xprompt)->data, answer ? 'y' : 'n'); + return answer ? Qt : Qnil; } |