mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.1.1823: command line history code is spread out
Problem: Command line history code is spread out. Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779) Also graduate the +cmdline_hist feature.
This commit is contained in:
@@ -1139,16 +1139,12 @@ free_all_mem(void)
|
||||
vim_regfree(clip_exclude_prog);
|
||||
# endif
|
||||
vim_free(last_cmdline);
|
||||
# ifdef FEAT_CMDHIST
|
||||
vim_free(new_last_cmdline);
|
||||
# endif
|
||||
set_keep_msg(NULL, 0);
|
||||
|
||||
/* Clear cmdline history. */
|
||||
p_hi = 0;
|
||||
# ifdef FEAT_CMDHIST
|
||||
init_history();
|
||||
# endif
|
||||
# ifdef FEAT_TEXT_PROP
|
||||
clear_global_prop_types();
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user