Kyle Meyer <k...@kyleam.com> writes:

> To follow up on this:
>
> I think the reason why setting only one doesn't work is because isearch
> specifies both of them.
>
>     (define-key map "\r" 'isearch-exit)
>     (define-key map [return] 'isearch-exit)
>
> Since the return key is given a binding, it's not translated to the
> corresponding ASCII character and, as a result, needs to be overridden
> specifically. At least, that's my understanding based on
> (info "(emacs)Named ASCII Chars").

OK. So let's bind both of them to nil then. Thanks for the
investigation.


Regards,

Reply via email to