Mercurial > vim
diff runtime/doc/eval.txt @ 8497:da01d5da2cfa
commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 12 12:57:59 2016 +0100
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Mar 2016 13:00:06 +0100 |
parents | c0b5c2b0a5ee |
children | ee5cb2e9ed5a |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.4. Last change: 2016 Mar 07 +*eval.txt* For Vim version 7.4. Last change: 2016 Mar 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4468,6 +4468,9 @@ items({dict}) *items()* job_getchannel({job}) *job_getchannel()* Get the channel handle that {job} is using. + To check if the job has no channel: > + if string(job_getchannel()) == 'channel fail' +< {only available when compiled with the |+job| feature} job_setoptions({job}, {options}) *job_setoptions()*