]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.033
- updated to 7.1.100
[packages/vim.git] / 7.1.033
1 To: vim-dev@vim.org
2 Subject: patch 7.1.033
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 7.1.033
11 Problem:    A buffer is marked modified when it was first deleted and then
12             added again using a ":next" command. (John Mullin)
13 Solution:   When checking if a buffer is modified use the BF_NEVERLOADED flag.
14 Files:      src/option.c
15
16
17 *** ../vim-7.1.032/src/option.c Tue Jun 19 20:56:52 2007
18 --- src/option.c        Sun Jul 22 16:42:47 2007
19 ***************
20 *** 10624,10629 ****
21 --- 10624,10632 ----
22   file_ff_differs(buf)
23       buf_T     *buf;
24   {
25 +     /* In a buffer that was never loaded the options are not valid. */
26 +     if (buf->b_flags & BF_NEVERLOADED)
27 +       return FALSE;
28       if ((buf->b_flags & BF_NEW)
29             && buf->b_ml.ml_line_count == 1
30             && *ml_get_buf(buf, (linenr_T)1, FALSE) == NUL)
31 *** ../vim-7.1.032/src/version.c        Tue Jul 17 18:14:14 2007
32 --- src/version.c       Mon Jul 23 09:45:44 2007
33 ***************
34 *** 668,669 ****
35 --- 668,671 ----
36   {   /* Add new patch number below this line */
37 + /**/
38 +     33,
39   /**/
40
41 -- 
42 How To Keep A Healthy Level Of Insanity:
43 8. Don't use any punctuation marks.
44
45  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
46 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
47 \\\        download, build and distribute -- http://www.A-A-P.org        ///
48  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.03683 seconds and 3 git commands to generate.