Skip to content

Commit

Permalink
updated for version 7.3.641
Browse files Browse the repository at this point in the history
Problem:    ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
Solution:   Add the bang. (Christian Brabandt)
  • Loading branch information
brammool committed Aug 29, 2012
1 parent df61793 commit 6351800
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fold.c
Original file line number Diff line number Diff line change
Expand Up @@ -3373,7 +3373,7 @@ put_foldopen_recurse(fd, wp, gap, off)
/* open nested folds while this fold is open */
if (fprintf(fd, "%ld", fp->fd_top + off) < 0
|| put_eol(fd) == FAIL
|| put_line(fd, "normal zo") == FAIL)
|| put_line(fd, "normal! zo") == FAIL)
return FAIL;
if (put_foldopen_recurse(fd, wp, &fp->fd_nested,
off + fp->fd_top)
Expand Down Expand Up @@ -3417,7 +3417,7 @@ put_fold_open_close(fd, fp, off)
{
if (fprintf(fd, "%ld", fp->fd_top + off) < 0
|| put_eol(fd) == FAIL
|| fprintf(fd, "normal z%c",
|| fprintf(fd, "normal! z%c",
fp->fd_flags == FD_CLOSED ? 'c' : 'o') < 0
|| put_eol(fd) == FAIL)
return FAIL;
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
641,
/**/
640,
/**/
Expand Down

0 comments on commit 6351800

Please sign in to comment.