Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2021 08:27:54 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 908b8e32f9de - main - sh: remove emacs improvements that are now defaults in libedit
Message-ID:  <202109220827.18M8RsVJ040181@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=908b8e32f9deb55441fac75b8d1e3865e3d5302f

commit 908b8e32f9deb55441fac75b8d1e3865e3d5302f
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2021-09-22 08:27:10 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2021-09-22 08:27:10 +0000

    sh: remove emacs improvements that are now defaults in libedit
---
 bin/sh/histedit.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
index 1a1e11e6f885..938df284a06c 100644
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -203,8 +203,6 @@ bad:
 				el_set(el, EL_EDITOR, "vi");
 			else if (Eflag) {
 				el_set(el, EL_EDITOR, "emacs");
-				el_set(el, EL_BIND, "^R", "em-inc-search-prev", NULL);
-				el_set(el, EL_BIND, "^W", "ed-delete-prev-word", NULL);
 			}
 			el_set(el, EL_BIND, "^I", "sh-complete", NULL);
 			el_source(el, NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109220827.18M8RsVJ040181>