commit | f5a2fd880ae8f6225814209ab73783f65078a4d5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Nov 06 05:26:15 2013 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Nov 06 05:26:15 2013 +0100 |
tree | 29090d43de4a770e32e36f4b0efeaa5c4e3b6f2f | |
parent | 4c1e626103397f8ac84ab7ca29cc74d0b3cc06e6 [diff] [blame] |
updated for version 7.4.073 Problem: Setting undolevels for one buffer changes undo in another. Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
diff --git a/src/buffer.c b/src/buffer.c index ddbcbc4..9dc7378 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -1949,6 +1949,7 @@ clear_string_option(&buf->b_p_qe); #endif buf->b_p_ar = -1; + buf->b_p_ul = NO_LOCAL_UNDOLEVEL; } /*