diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-11-06 05:26:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-11-06 05:26:15 +0100 |
commit | f5a2fd880ae8f6225814209ab73783f65078a4d5 (patch) | |
tree | 29090d43de4a770e32e36f4b0efeaa5c4e3b6f2f /src/buffer.c | |
parent | 4c1e626103397f8ac84ab7ca29cc74d0b3cc06e6 (diff) | |
download | vim-git-f5a2fd880ae8f6225814209ab73783f65078a4d5.tar.gz |
updated for version 7.4.073v7.4.073
Problem: Setting undolevels for one buffer changes undo in another.
Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index ddbcbc4b5..9dc7378f5 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1949,6 +1949,7 @@ free_buf_options(buf, free_p_ff) clear_string_option(&buf->b_p_qe); #endif buf->b_p_ar = -1; + buf->b_p_ul = NO_LOCAL_UNDOLEVEL; } /* |