|
Karsten Hopp |
ec9de6 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
ec9de6 |
Subject: Patch 7.4.031
|
|
Karsten Hopp |
ec9de6 |
Fcc: outbox
|
|
Karsten Hopp |
ec9de6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ec9de6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
ec9de6 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
ec9de6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ec9de6 |
------------
|
|
Karsten Hopp |
ec9de6 |
|
|
Karsten Hopp |
ec9de6 |
Patch 7.4.031
|
|
Karsten Hopp |
ec9de6 |
Problem: ":diffoff!" resets options even when 'diff' is not set. (Charles
|
|
Karsten Hopp |
ec9de6 |
Cooper)
|
|
Karsten Hopp |
ec9de6 |
Solution: Only resets related options in a window where 'diff' is set.
|
|
Karsten Hopp |
ec9de6 |
Files: src/diff.c
|
|
Karsten Hopp |
ec9de6 |
|
|
Karsten Hopp |
ec9de6 |
|
|
Karsten Hopp |
ec9de6 |
*** ../vim-7.4.030/src/diff.c 2013-07-17 13:43:15.000000000 +0200
|
|
Karsten Hopp |
ec9de6 |
--- src/diff.c 2013-09-20 19:58:47.000000000 +0200
|
|
Karsten Hopp |
ec9de6 |
***************
|
|
Karsten Hopp |
ec9de6 |
*** 1203,1209 ****
|
|
Karsten Hopp |
ec9de6 |
|
|
Karsten Hopp |
ec9de6 |
for (wp = firstwin; wp != NULL; wp = wp->w_next)
|
|
Karsten Hopp |
ec9de6 |
{
|
|
Karsten Hopp |
ec9de6 |
! if (wp == curwin || (eap->forceit && wp->w_p_diff))
|
|
Karsten Hopp |
ec9de6 |
{
|
|
Karsten Hopp |
ec9de6 |
/* Set 'diff', 'scrollbind' off and 'wrap' on. If option values
|
|
Karsten Hopp |
ec9de6 |
* were saved in diff_win_options() restore them. */
|
|
Karsten Hopp |
ec9de6 |
--- 1203,1209 ----
|
|
Karsten Hopp |
ec9de6 |
|
|
Karsten Hopp |
ec9de6 |
for (wp = firstwin; wp != NULL; wp = wp->w_next)
|
|
Karsten Hopp |
ec9de6 |
{
|
|
Karsten Hopp |
ec9de6 |
! if (eap->forceit ? wp->w_p_diff : wp == curwin)
|
|
Karsten Hopp |
ec9de6 |
{
|
|
Karsten Hopp |
ec9de6 |
/* Set 'diff', 'scrollbind' off and 'wrap' on. If option values
|
|
Karsten Hopp |
ec9de6 |
* were saved in diff_win_options() restore them. */
|
|
Karsten Hopp |
ec9de6 |
*** ../vim-7.4.030/src/version.c 2013-09-19 20:48:59.000000000 +0200
|
|
Karsten Hopp |
ec9de6 |
--- src/version.c 2013-09-20 19:59:45.000000000 +0200
|
|
Karsten Hopp |
ec9de6 |
***************
|
|
Karsten Hopp |
ec9de6 |
*** 740,741 ****
|
|
Karsten Hopp |
ec9de6 |
--- 740,743 ----
|
|
Karsten Hopp |
ec9de6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ec9de6 |
+ /**/
|
|
Karsten Hopp |
ec9de6 |
+ 31,
|
|
Karsten Hopp |
ec9de6 |
/**/
|
|
Karsten Hopp |
ec9de6 |
|
|
Karsten Hopp |
ec9de6 |
--
|
|
Karsten Hopp |
ec9de6 |
"Marriage is a wonderful institution...
|
|
Karsten Hopp |
ec9de6 |
but who wants to live in an institution?"
|
|
Karsten Hopp |
ec9de6 |
- Groucho Marx
|
|
Karsten Hopp |
ec9de6 |
|
|
Karsten Hopp |
ec9de6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ec9de6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ec9de6 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
ec9de6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|