From 3d8f643a5e517f8be138902f83ccdaa66ea90925 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 26 Jul 2022 08:49:57 +0200 Subject: [PATCH] Remove duplicate logic to clear the transient bit when inserting into commandline This is already done by the above call to insert_char. No functional change. --- src/reader.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/reader.cpp b/src/reader.cpp index f90bfb7c9..239320c29 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -4263,7 +4263,6 @@ maybe_t reader_data_t::readline(int nchars_or_0) { // End paging upon inserting into the normal command line. if (el == &command_line) { pager.clear(); - command_line_has_transient_edit = false; } } else { // This can happen if the user presses a control char we don't recognize. No