diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-12-02 15:33:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-12-02 15:33:21 +0100 |
commit | 4161dccada960ec7bf97e5887287d42eb9139710 (patch) | |
tree | 265f506711f1b90ee35011c96db973165c9ce73a /src/quickfix.c | |
parent | d4ddfafc2ac07d37a8c851ceb453f8872a0840ef (diff) | |
download | vim-4161dccada960ec7bf97e5887287d42eb9139710.zip |
updated for version 7.3.071
Problem: Editing a file in a window that's in diff mode resets 'diff'
but not cursor binding.
Solution: Reset cursor binding in two more places.
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 5060675fd..82826b27c 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2359,6 +2359,7 @@ ex_copen(eap) set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix", OPT_LOCAL); set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL); + RESET_BINDING(curwin); #ifdef FEAT_DIFF curwin->w_p_diff = FALSE; #endif |