git: 908b8e32f9de - main - sh: remove emacs improvements that are now defaults in libedit

Baptiste Daroussin bapt at FreeBSD.org
Wed Sep 22 08:27:54 UTC 2021


The branch main has been updated by bapt:

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

commit 908b8e32f9deb55441fac75b8d1e3865e3d5302f
Author:     Baptiste Daroussin <bapt at FreeBSD.org>
AuthorDate: 2021-09-22 08:27:10 +0000
Commit:     Baptiste Daroussin <bapt at 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);


More information about the dev-commits-src-all mailing list