devel/vim 7.1.250,NONE,1.1

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Mon Feb 25 15:36:44 UTC 2008


Author: karsten

Update of /cvs/extras/devel/vim
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31506

Added Files:
	7.1.250 
Log Message:
- patchlevel 250


--- NEW FILE 7.1.250 ---
To: vim-dev at vim.org
Subject: Patch 7.1.250
Fcc: outbox
From: Bram Moolenaar <Bram at moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.1.250
Problem:    ":setglobal fenc=anything" gives an error message in a buffer
	    where 'modifiable' is off.  (Ben Schmidt)
Solution:   Don't give an error if 'modifiable' doesn't matter.
Files:	    src/option.c


*** ../vim-7.1.249/src/option.c	Sat Jan 19 15:55:51 2008
--- src/option.c	Wed Feb 13 18:31:39 2008
***************
*** 5671,5677 ****
      {
  	if (gvarp == &p_fenc)
  	{
! 	    if (!curbuf->b_p_ma)
  		errmsg = e_modifiable;
  	    else if (vim_strchr(*varp, ',') != NULL)
  		/* No comma allowed in 'fileencoding'; catches confusing it
--- 5671,5677 ----
      {
  	if (gvarp == &p_fenc)
  	{
! 	    if (!curbuf->b_p_ma && opt_flags != OPT_GLOBAL)
  		errmsg = e_modifiable;
  	    else if (vim_strchr(*varp, ',') != NULL)
  		/* No comma allowed in 'fileencoding'; catches confusing it
*** ../vim-7.1.249/src/version.c	Wed Feb 13 15:20:59 2008
--- src/version.c	Wed Feb 13 18:34:24 2008
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     250,
  /**/

-- 
How To Keep A Healthy Level Of Insanity:
3. Every time someone asks you to do something, ask if they want fries
   with that.

 /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///




More information about the fedora-extras-commits mailing list