Readline 5.1 import for HEAD.
[deliverable/binutils-gdb.git] / readline / undo.c
index 25c287b5a2df3df04c7d9fd98f1978949c6d7016..fedfa121fc0d7e68c89da0e5a63ae4ec395c214e 100644 (file)
@@ -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;
 }
 
This page took 0.025666 seconds and 4 git commands to generate.