Nikolay Pavlov wrote: > Consider the following script: > > vim -u NONE -i NONE -N --cmd 'let g:actual_curbuf="foo"' --cmd 'set > statusline=%{bufnr('\'\'')} laststatus=2' --cmd 'redrawstatus' --cmd 'echo > g:actual_curbuf' > > you will see E121: Undefined variable: g:actual_curbuf. But trying to use > help to understand what happens yields nothing: > > help actual_curbuf > > and > > help g:actual_curbuf > > give “E149: Sorry, no help for [g:]actual_curbuf”. > > diff -r a8993ea8dec2 runtime/doc/options.txt
Thanks! -- >From "know your smileys": |-( Contact lenses, but has lost them /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.