Mercurial > vim
diff src/proto/mark.pro @ 9414:1003973c99df v7.4.1988
commit https://github.com/vim/vim/commit/ab9c89b68dcbdb3fbda8c5a50dd90caca64f1bfd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 3 17:47:26 2016 +0200
patch 7.4.1988
Problem: When updating viminfo with file marks there is no time order.
Solution: Remember the time when a buffer was last used, store marks for
the most recently used buffers.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 03 Jul 2016 18:00:05 +0200 |
parents | 78712a2f687a |
children | 6b26e044b6f5 |
line wrap: on
line diff
--- a/src/proto/mark.pro +++ b/src/proto/mark.pro @@ -30,6 +30,6 @@ void finish_viminfo_marks(void); void handle_viminfo_mark(garray_T *values, int force); void write_viminfo_filemarks(FILE *fp); int removable(char_u *name); -int write_viminfo_marks(FILE *fp_out); -void copy_viminfo_marks(vir_T *virp, FILE *fp_out, int count, int eof, int flags); +void write_viminfo_marks(FILE *fp_out, garray_T *buflist); +void copy_viminfo_marks(vir_T *virp, FILE *fp_out, garray_T *buflist, int eof, int flags); /* vim: set ft=c : */