From: Peter Danenberg <pcd@wikitex.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Map ret to y on y-or-n questions
Date: Thu, 15 Mar 2007 20:24:32 -0600 [thread overview]
Message-ID: <20070316022431.GA31090@wikitex.org> (raw)
In-Reply-To: <1173966612.739096.241700@n76g2000hsh.googlegroups.com>
> I would like to know if there is a way to map Enter key to Yes on
> y-or-n questions (like buffer killing confirmation).
Try:
(define-key query-replace-map [return] 'act)
(define-key query-replace-map [?\C-m] 'act)
prev parent reply other threads:[~2007-03-16 2:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-15 13:50 Map ret to y on y-or-n questions weber
2007-03-15 17:18 ` Joost Kremers
2007-03-16 2:24 ` Peter Danenberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070316022431.GA31090@wikitex.org \
--to=pcd@wikitex.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).