From be094a157913535d46cc6ac39465ce1ea7dae132 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 5 Feb 2012 01:18:48 +0100 Subject: updated for version 7.3.429 Problem: When 'cpoptions' includes "E" "c0" in the first column is an error. The redo register is then set to the errornous command. Solution: Do not set the redo register if the command fails because of an empty region. (Hideki Eiraku) --- src/proto/getchar.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/proto') diff --git a/src/proto/getchar.pro b/src/proto/getchar.pro index a304bafa53..371f77002c 100644 --- a/src/proto/getchar.pro +++ b/src/proto/getchar.pro @@ -4,8 +4,9 @@ char_u *get_recorded __ARGS((void)); char_u *get_inserted __ARGS((void)); int stuff_empty __ARGS((void)); void typeahead_noflush __ARGS((int c)); -void flush_buffers __ARGS((int typeahead)); +void flush_buffers __ARGS((int flush_typeahead)); void ResetRedobuff __ARGS((void)); +void CancelRedo __ARGS((void)); void saveRedobuff __ARGS((void)); void restoreRedobuff __ARGS((void)); void AppendToRedobuff __ARGS((char_u *s)); -- cgit v1.2.3