7 Bug-Reported-by: Johannes Hielscher <jhielscher@posteo.de>
8 Bug-Reference-ID: <20190208205048.77c25a83@hordevm>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2019-02/msg00032.html
13 If the current line is empty, using the emacs C-xC-e binding to enter the
14 editor will edit the previous command instead of the current (empty) one.
16 Patch (apply with `patch -p0'):
18 *** ../bash-5.0-patched/bashline.c 2019-01-16 16:13:21.000000000 -0500
19 --- bashline.c 2019-02-11 11:18:57.000000000 -0500
22 finished with the command, so we should not ignore the last command */
24 ! if (rl_line_buffer[0])
26 ! current_command_line_count++; /* for rl_newline above */
27 ! bash_add_history (rl_line_buffer);
29 current_command_line_count = 0; /* for dummy history entry */
30 bash_add_history ("");
32 finished with the command, so we should not ignore the last command */
34 ! current_command_line_count++; /* for rl_newline above */
35 ! bash_add_history (rl_line_buffer);
36 current_command_line_count = 0; /* for dummy history entry */
37 bash_add_history ("");
38 *** ../bash-5.0/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
39 --- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
42 looks for to find the patch level (for the sccs version string). */
44 ! #define PATCHLEVEL 13
46 #endif /* _PATCHLEVEL_H_ */
48 looks for to find the patch level (for the sccs version string). */
50 ! #define PATCHLEVEL 14
52 #endif /* _PATCHLEVEL_H_ */