all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* y-or-n-p does not add "(y or n)"
@ 2010-09-13 16:43 Juanma Barranquero
  2010-09-17 14:53 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Juanma Barranquero @ 2010-09-13 16:43 UTC (permalink / raw)
  To: Emacs developers; +Cc: Stefan Monnier

Didn't this

  2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>

          * subr.el (y-or-n-p): New function, moved from src/fns.c.
Use read-key.

forgot to implement this part?

  The argument PROMPT is the string to display to ask the question.
  It should end in a space; `y-or-n-p' adds `(y or n) ' to it.

At least,

  M-: (y-or-n-p "My question ") <RET>

does not add "(y or n)" in my tests.

    Juanma



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

* Re: y-or-n-p does not add "(y or n)"
  2010-09-13 16:43 y-or-n-p does not add "(y or n)" Juanma Barranquero
@ 2010-09-17 14:53 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2010-09-17 14:53 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Emacs developers

> forgot to implement this part?

>   The argument PROMPT is the string to display to ask the question.
>   It should end in a space; `y-or-n-p' adds `(y or n) ' to it.

Indeed, it got lost somewhere.  Should be fixed now,


        Stefan



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

end of thread, other threads:[~2010-09-17 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-13 16:43 y-or-n-p does not add "(y or n)" Juanma Barranquero
2010-09-17 14:53 ` Stefan Monnier

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.