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

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

Re: Map ret to y on y-or-n questions


From: Peter Danenberg
Subject: Re: Map ret to y on y-or-n questions
Date: Thu, 15 Mar 2007 20:24:32 -0600
User-agent: Mutt/1.5.12-2006-07-14

> 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)




reply via email to

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