mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 9.1.0113: duplicate code when cleaning undo stack
Problem: duplicate code when cleaning undo stack Solution: refactor undo cleanup into a single public function related: #13928 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -18,10 +18,9 @@ void ex_undojoin(exarg_T *eap);
|
||||
void u_unchanged(buf_T *buf);
|
||||
void u_find_first_changed(void);
|
||||
void u_update_save_nr(buf_T *buf);
|
||||
void u_clearall(buf_T *buf);
|
||||
void u_clearline(void);
|
||||
void u_undoline(void);
|
||||
void u_blockfree(buf_T *buf);
|
||||
void u_clearallandblockfree(buf_T *buf);
|
||||
int bufIsChanged(buf_T *buf);
|
||||
int anyBufIsChanged(void);
|
||||
int bufIsChangedNotTerm(buf_T *buf);
|
||||
|
||||
Reference in New Issue
Block a user