dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

commit ceeebd9f2e81e56893fe19e7e8cce5c7bee406c2
parent 4ebc75642dcf10e244b33656dfe97a9d9182a737
Author: Lukas Henkel <lh@entf.net>
Date:   Thu,  2 Jun 2022 20:15:10 +0200

Fix pressing enter while no completion is selected for comint modes

This way, instead of just entering a newline, whatever is usually
bound to RET is executed instead, so it's not printing a newline in a
console or REPL.

Diffstat:
Minit.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.el b/init.el @@ -175,7 +175,7 @@ (let ((idx corfu--index)) (corfu-insert) (when (< idx 0) - (newline) + (funcall (key-binding (kbd "RET"))) (indent-according-to-mode)))) (lh/define-keys corfu-map