]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.250
- updated to 7.1.285
[packages/vim.git] / 7.1.250
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.250
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.250
11 Problem:    ":setglobal fenc=anything" gives an error message in a buffer
12             where 'modifiable' is off.  (Ben Schmidt)
13 Solution:   Don't give an error if 'modifiable' doesn't matter.
14 Files:      src/option.c
15
16
17 *** ../vim-7.1.249/src/option.c Sat Jan 19 15:55:51 2008
18 --- src/option.c        Wed Feb 13 18:31:39 2008
19 ***************
20 *** 5671,5677 ****
21       {
22         if (gvarp == &p_fenc)
23         {
24 !           if (!curbuf->b_p_ma)
25                 errmsg = e_modifiable;
26             else if (vim_strchr(*varp, ',') != NULL)
27                 /* No comma allowed in 'fileencoding'; catches confusing it
28 --- 5671,5677 ----
29       {
30         if (gvarp == &p_fenc)
31         {
32 !           if (!curbuf->b_p_ma && opt_flags != OPT_GLOBAL)
33                 errmsg = e_modifiable;
34             else if (vim_strchr(*varp, ',') != NULL)
35                 /* No comma allowed in 'fileencoding'; catches confusing it
36 *** ../vim-7.1.249/src/version.c        Wed Feb 13 15:20:59 2008
37 --- src/version.c       Wed Feb 13 18:34:24 2008
38 ***************
39 *** 668,669 ****
40 --- 668,671 ----
41   {   /* Add new patch number below this line */
42 + /**/
43 +     250,
44   /**/
45
46 -- 
47 How To Keep A Healthy Level Of Insanity:
48 3. Every time someone asks you to do something, ask if they want fries
49    with that.
50
51  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
52 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\        download, build and distribute -- http://www.A-A-P.org        ///
54  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.037488 seconds and 3 git commands to generate.