4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When setting 'undolevels' to -1, making a change and setting
12 'undolevels' to a positive value an "undo list corrupt" error
13 occurs. (Madoka Machitani)
14 Solution: Sync undo before changing 'undolevels'.
18 *** ../vim-6.2.309/src/option.c Sun Feb 29 21:06:13 2004
19 --- src/option.c Tue Mar 2 13:05:48 2004
24 if (p_uc && !old_value)
28 + /* sync undo before 'undolevels' changes */
29 + else if (pp == &p_ul)
31 + /* use the old value, otherwise u_sync() may not work properly */
38 *** ../vim-6.2.309/src/version.c Tue Mar 2 14:59:39 2004
39 --- src/version.c Tue Mar 2 15:09:43 2004
43 { /* Add new patch number below this line */
49 FATHER: You killed eight wedding guests in all!
50 LAUNCELOT: Er, Well ... the thing is ... I thought your son was a lady.
51 FATHER: I can understand that.
52 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
54 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
55 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
57 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///