diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-04-24 22:00:27 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-04-24 22:00:27 +0000 |
commit | 23e2f935d058f72a6dada4c83c740fd4e3dcc6ed (patch) | |
tree | 222dfd22cda9f7a158f58e9cb545f68c849dca98 /readline/undo.c | |
parent | 49b5a1f5dc74a0e693a51409252b3d590cc00bbb (diff) | |
download | binutils-readline_5_1-import-branch.zip binutils-readline_5_1-import-branch.tar.gz binutils-readline_5_1-import-branch.tar.bz2 |
Import readline 5.1 on the branch.readline_5_1-import-branch
Diffstat (limited to 'readline/undo.c')
-rw-r--r-- | readline/undo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/readline/undo.c b/readline/undo.c index 25c287b..fedfa12 100644 --- a/readline/undo.c +++ b/readline/undo.c @@ -237,7 +237,12 @@ rl_revert_line (count, key) { while (rl_undo_list) rl_do_undo (); +#if defined (VI_MODE) + if (rl_editing_mode == vi_mode) + rl_point = rl_mark = 0; /* rl_end should be set correctly */ +#endif } + return 0; } |