diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-02-05 01:18:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-02-05 01:18:48 +0100 |
commit | be094a157913535d46cc6ac39465ce1ea7dae132 (patch) | |
tree | ef66aa86500e55299f1a338cb7cc3d6b0632d2e7 /src/proto/getchar.pro | |
parent | e37c611012a8b0b822e9d60baacd642c20c07851 (diff) | |
download | vim-be094a157913535d46cc6ac39465ce1ea7dae132.zip |
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)
Diffstat (limited to 'src/proto/getchar.pro')
-rw-r--r-- | src/proto/getchar.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/getchar.pro b/src/proto/getchar.pro index a304bafa5..371f77002 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)); |