Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
9413:d72229478e52 | 9414:1003973c99df |
---|---|
28 void prepare_viminfo_marks(void); | 28 void prepare_viminfo_marks(void); |
29 void finish_viminfo_marks(void); | 29 void finish_viminfo_marks(void); |
30 void handle_viminfo_mark(garray_T *values, int force); | 30 void handle_viminfo_mark(garray_T *values, int force); |
31 void write_viminfo_filemarks(FILE *fp); | 31 void write_viminfo_filemarks(FILE *fp); |
32 int removable(char_u *name); | 32 int removable(char_u *name); |
33 int write_viminfo_marks(FILE *fp_out); | 33 void write_viminfo_marks(FILE *fp_out, garray_T *buflist); |
34 void copy_viminfo_marks(vir_T *virp, FILE *fp_out, int count, int eof, int flags); | 34 void copy_viminfo_marks(vir_T *virp, FILE *fp_out, garray_T *buflist, int eof, int flags); |
35 /* vim: set ft=c : */ | 35 /* vim: set ft=c : */ |