Mercurial > vim
comparison src/eval.c @ 2024:451bed7e9572 v7.2.321
updated for version 7.2-321
author | vimboss |
---|---|
date | Thu, 24 Dec 2009 14:01:12 +0000 |
parents | 6ba0265d1f1b |
children | 4c41f0da2a2e |
comparison
equal
deleted
inserted
replaced
2023:db3ca1048f7f | 2024:451bed7e9572 |
---|---|
12012 if (histype >= 0) | 12012 if (histype >= 0) |
12013 { | 12013 { |
12014 str = get_tv_string_buf(&argvars[1], buf); | 12014 str = get_tv_string_buf(&argvars[1], buf); |
12015 if (*str != NUL) | 12015 if (*str != NUL) |
12016 { | 12016 { |
12017 init_history(); | |
12017 add_to_history(histype, str, FALSE, NUL); | 12018 add_to_history(histype, str, FALSE, NUL); |
12018 rettv->vval.v_number = TRUE; | 12019 rettv->vval.v_number = TRUE; |
12019 return; | 12020 return; |
12020 } | 12021 } |
12021 } | 12022 } |