]>
Commit | Line | Data |
---|---|---|
25f687b8 AM |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.131 | |
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.131 | |
11 | Problem: ":mksession" always adds ":setlocal autoread". (Christian J. | |
12 | Robinson) | |
13 | Solution: Skip boolean global/local option using global value. | |
14 | Files: src/option.c | |
15 | ||
16 | ||
17 | *** ../vim-7.1.130/src/option.c Wed Sep 26 22:35:06 2007 | |
18 | --- src/option.c Sun Sep 30 16:21:08 2007 | |
19 | *************** | |
20 | *** 8753,8758 **** | |
21 | --- 8753,8760 ---- | |
22 | char *name; | |
23 | int value; | |
24 | { | |
25 | + if (value < 0) /* global/local option using global value */ | |
26 | + return OK; | |
27 | if (fprintf(fd, "%s %s%s", cmd, value ? "" : "no", name) < 0 | |
28 | || put_eol(fd) < 0) | |
29 | return FAIL; | |
30 | *** ../vim-7.1.130/src/version.c Mon Oct 1 22:53:27 2007 | |
31 | --- src/version.c Tue Oct 2 20:39:02 2007 | |
32 | *************** | |
33 | *** 668,669 **** | |
34 | --- 668,671 ---- | |
35 | { /* Add new patch number below this line */ | |
36 | + /**/ | |
37 | + 131, | |
38 | /**/ | |
39 | ||
40 | -- | |
41 | ARTHUR: Old woman! | |
42 | DENNIS: Man! | |
43 | ARTHUR: Man. I'm sorry. Old man, What knight live in that castle over there? | |
44 | DENNIS: I'm thirty-seven. | |
45 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
46 | ||
47 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
48 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
49 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
50 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |