Patch 7.2.041
commitb8c6dbbebfbbd22666ab6f7c6ae3844484b5307b
authoredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Sun, 16 Nov 2008 01:53:23 +0000 (16 01:53 +0000)
committeredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Sun, 16 Nov 2008 01:53:23 +0000 (16 01:53 +0000)
treefa7e4cc3fc11ef3adcf8d324bcd3420aca9aa6e6
parentb8b00eb22b03a34ceb804a8edaeafa246ad12bd2
Patch 7.2.041
Problem:    In diff mode, when using two tabs, each with two diffed buffers,
            editing a buffer of the other tab messes up the diff.  (Matt
            Mzyzik)
Solution:   Only copy options from a window where the buffer was edited that
            doesn't have 'diff' set or is for the current tab page.
            Also fix that window options for a buffer are stored with the
            wrong window.
Files:      src/buffer.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
            src/ex_getln.c, src/if_sniff.c, src/main.c, src/netbeans.c,
            src/normal.c, src/popupmnu.c, src/proto/buffer.pro,
            src/proto/ex_cmds.pro src/quickfix.c, src/window.c

git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7.2@1248 2a77ed30-b011-0410-a7ad-c7884a0aa172
15 files changed:
src/buffer.c
src/ex_cmds.c
src/ex_cmds2.c
src/ex_docmd.c
src/ex_getln.c
src/if_sniff.c
src/main.c
src/netbeans.c
src/normal.c
src/popupmnu.c
src/proto/buffer.pro
src/proto/ex_cmds.pro
src/quickfix.c
src/version.c
src/window.c