]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.189
- removed conflict with 6.2.259
[packages/vim.git] / 6.2.189
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.189
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.2.189
11 Problem:    When setting 'viminfo' after editing a new buffer its marks are
12             not stored. (Keith Roberts)
13 Solution:   Set the "b_marks_read" flag when skipping to read marks from the
14             viminfo file.
15 Files:      src/fileio.c
16
17
18 *** ../vim-6.2.188/src/fileio.c Sun Jan 18 20:58:01 2004
19 --- src/fileio.c        Thu Jan 15 22:07:40 2004
20 ***************
21 *** 2251,2260 ****
22   check_marks_read()
23   {
24       if (!curbuf->b_marks_read && get_viminfo_parameter('\'') > 0)
25 -     {
26         read_viminfo(NULL, FALSE, TRUE, FALSE);
27 !       curbuf->b_marks_read = TRUE;
28 !     }
29   }
30   #endif
31   
32 --- 2251,2261 ----
33   check_marks_read()
34   {
35       if (!curbuf->b_marks_read && get_viminfo_parameter('\'') > 0)
36         read_viminfo(NULL, FALSE, TRUE, FALSE);
37
38 !     /* Always set b_marks_read; needed when 'viminfo' is changed to include
39 !      * the ' parameter after opening a buffer. */
40 !     curbuf->b_marks_read = TRUE;
41   }
42   #endif
43   
44 *** ../vim-6.2.188/src/version.c        Sun Jan 18 21:01:53 2004
45 --- src/version.c       Sun Jan 18 21:04:06 2004
46 ***************
47 *** 639,640 ****
48 --- 639,642 ----
49   {   /* Add new patch number below this line */
50 + /**/
51 +     189,
52   /**/
53
54 -- 
55 A computer programmer is a device for turning requirements into
56 undocumented features.  It runs on cola, pizza and Dilbert cartoons.
57                                         Bram Moolenaar
58
59  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
60 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
61 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
62  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
This page took 0.054623 seconds and 3 git commands to generate.