|
Karsten Hopp |
e5479e |
To: vim-dev@vim.org
|
|
Karsten Hopp |
e5479e |
Subject: patch 7.1.131
|
|
Karsten Hopp |
e5479e |
Fcc: outbox
|
|
Karsten Hopp |
e5479e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e5479e |
Mime-Version: 1.0
|
|
Karsten Hopp |
e5479e |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
e5479e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e5479e |
------------
|
|
Karsten Hopp |
e5479e |
|
|
Karsten Hopp |
e5479e |
Patch 7.1.131
|
|
Karsten Hopp |
e5479e |
Problem: ":mksession" always adds ":setlocal autoread". (Christian J.
|
|
Karsten Hopp |
e5479e |
Robinson)
|
|
Karsten Hopp |
e5479e |
Solution: Skip boolean global/local option using global value.
|
|
Karsten Hopp |
e5479e |
Files: src/option.c
|
|
Karsten Hopp |
e5479e |
|
|
Karsten Hopp |
e5479e |
|
|
Karsten Hopp |
e5479e |
*** ../vim-7.1.130/src/option.c Wed Sep 26 22:35:06 2007
|
|
Karsten Hopp |
e5479e |
--- src/option.c Sun Sep 30 16:21:08 2007
|
|
Karsten Hopp |
e5479e |
***************
|
|
Karsten Hopp |
e5479e |
*** 8753,8758 ****
|
|
Karsten Hopp |
e5479e |
--- 8753,8760 ----
|
|
Karsten Hopp |
e5479e |
char *name;
|
|
Karsten Hopp |
e5479e |
int value;
|
|
Karsten Hopp |
e5479e |
{
|
|
Karsten Hopp |
e5479e |
+ if (value < 0) /* global/local option using global value */
|
|
Karsten Hopp |
e5479e |
+ return OK;
|
|
Karsten Hopp |
e5479e |
if (fprintf(fd, "%s %s%s", cmd, value ? "" : "no", name) < 0
|
|
Karsten Hopp |
e5479e |
|| put_eol(fd) < 0)
|
|
Karsten Hopp |
e5479e |
return FAIL;
|
|
Karsten Hopp |
e5479e |
*** ../vim-7.1.130/src/version.c Mon Oct 1 22:53:27 2007
|
|
Karsten Hopp |
e5479e |
--- src/version.c Tue Oct 2 20:39:02 2007
|
|
Karsten Hopp |
e5479e |
***************
|
|
Karsten Hopp |
e5479e |
*** 668,669 ****
|
|
Karsten Hopp |
e5479e |
--- 668,671 ----
|
|
Karsten Hopp |
e5479e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e5479e |
+ /**/
|
|
Karsten Hopp |
e5479e |
+ 131,
|
|
Karsten Hopp |
e5479e |
/**/
|
|
Karsten Hopp |
e5479e |
|
|
Karsten Hopp |
e5479e |
--
|
|
Karsten Hopp |
e5479e |
ARTHUR: Old woman!
|
|
Karsten Hopp |
e5479e |
DENNIS: Man!
|
|
Karsten Hopp |
e5479e |
ARTHUR: Man. I'm sorry. Old man, What knight live in that castle over there?
|
|
Karsten Hopp |
e5479e |
DENNIS: I'm thirty-seven.
|
|
Karsten Hopp |
e5479e |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
e5479e |
|
|
Karsten Hopp |
e5479e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e5479e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e5479e |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
e5479e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|