comparison runtime/doc/eval.txt @ 9644:9f7bcc2c3b97

commit https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 24 14:12:38 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Jul 2016 14:15:06 +0200
parents ccbb8e393d80
children 8c2553beff0f
comparison
equal deleted inserted replaced
9643:5aee77e6b395 9644:9f7bcc2c3b97
1 *eval.txt* For Vim version 7.4. Last change: 2016 Jul 23 1 *eval.txt* For Vim version 7.4. Last change: 2016 Jul 24
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
2304 tan({expr}) Float tangent of {expr} 2304 tan({expr}) Float tangent of {expr}
2305 tanh({expr}) Float hyperbolic tangent of {expr} 2305 tanh({expr}) Float hyperbolic tangent of {expr}
2306 tempname() String name for a temporary file 2306 tempname() String name for a temporary file
2307 test_alloc_fail({id}, {countdown}, {repeat}) 2307 test_alloc_fail({id}, {countdown}, {repeat})
2308 none make memory allocation fail 2308 none make memory allocation fail
2309 test_autochdir() none enable 'autochdir' during startup
2309 test_disable_char_avail({expr}) none test without typeahead 2310 test_disable_char_avail({expr}) none test without typeahead
2310 test_garbagecollect_now() none free memory right now for testing 2311 test_garbagecollect_now() none free memory right now for testing
2311 test_null_channel() Channel null value for testing 2312 test_null_channel() Channel null value for testing
2312 test_null_dict() Dict null value for testing 2313 test_null_dict() Dict null value for testing
2313 test_null_job() Job null value for testing 2314 test_null_job() Job null value for testing
7451 This is for testing: If the memory allocation with {id} is 7452 This is for testing: If the memory allocation with {id} is
7452 called, then decrement {countdown}, and when it reaches zero 7453 called, then decrement {countdown}, and when it reaches zero
7453 let memory allocation fail {repeat} times. When {repeat} is 7454 let memory allocation fail {repeat} times. When {repeat} is
7454 smaller than one it fails one time. 7455 smaller than one it fails one time.
7455 7456
7456 7457 test_autochdir() *test_autochdir()*
7457 *test_disable_char_avail()* 7458 Set a flag to enable the effect of 'autochdir' before Vim
7459 startup has finished.
7460
7461 *test_disable_char_avail()*
7458 test_disable_char_avail({expr}) 7462 test_disable_char_avail({expr})
7459 When {expr} is 1 the internal char_avail() function will 7463 When {expr} is 1 the internal char_avail() function will
7460 return |FALSE|. When {expr} is 0 the char_avail() function will 7464 return |FALSE|. When {expr} is 0 the char_avail() function will
7461 function normally. 7465 function normally.
7462 Only use this for a test where typeahead causes the test not 7466 Only use this for a test where typeahead causes the test not