help-gnu-emacs
[Top][All Lists]
Advanced

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

key mapping: adding automatic confirmations to command


From: bturnip
Subject: key mapping: adding automatic confirmations to command
Date: 21 Jun 2005 13:25:04 -0700
User-agent: G2/0.2

Hola, Emacs folks!

I have mapped the revert-buffer function to F10, like so:
(global-set-key [f10] 'revert-buffer)

What I would like to add is automatic confirmation, so that I don't
have to answer (y or n) each time.

How can I do that?

Thanks!



reply via email to

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