all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to avoid y-or-n-p in a program?
@ 2014-03-12 15:37 Thorsten Jolitz
  2014-03-12 16:14 ` Tassilo Horn
  2014-03-12 18:14 ` Stefan Monnier
  0 siblings, 2 replies; 10+ messages in thread
From: Thorsten Jolitz @ 2014-03-12 15:37 UTC (permalink / raw)
  To: help-gnu-emacs


Hi List, 

when in a program function A calls another (external) function B that
asks the user a y-or-n-p question, and you want to avoid that and
instead code in function A that the answer is always Y, so that the
prompt never shows up - how do you do that?

-- 
cheers,
Thorsten





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

end of thread, other threads:[~2014-03-14 17:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 15:37 How to avoid y-or-n-p in a program? Thorsten Jolitz
2014-03-12 16:14 ` Tassilo Horn
2014-03-12 16:50   ` Juanma Barranquero
2014-03-12 18:14 ` Stefan Monnier
2014-03-12 22:31   ` Thorsten Jolitz
2014-03-14 14:26   ` Thorsten Jolitz
2014-03-14 14:35     ` Stefan
2014-03-14 14:48       ` Thorsten Jolitz
2014-03-14 16:09         ` Stefan
2014-03-14 17:21           ` Thorsten Jolitz

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.