diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-07-10 09:47:34 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-07-10 09:47:34 +0000 |
commit | 8299df966a58236b31c0028fd7ce799c4ac6e625 (patch) | |
tree | 09250c8a4c22a4fb109a7b7a0265454b3c4d5bca /runtime/optwin.vim | |
parent | 325b7a2fb5b970b77f7b9ec28ba15eb794f6edf8 (diff) |
updated for version 7.0007v7.0007
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r-- | runtime/optwin.vim | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 98ac00ec3e..85e201ceb6 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2004 Jul 03 +" Last Change: 2004 Jul 05 " If there already is an option window, jump to that one. if bufwinnr("option-window") > 0 @@ -563,18 +563,28 @@ endif if has("printer") call <SID>Header("printing") + call append("$", "printoptions\tlist of items that control the format of :hardcopy output") + call <SID>OptionG("popt", &popt) call append("$", "printdevice\tname of the printer to be used for :hardcopy") call <SID>OptionG("pdev", &pdev) - call append("$", "printencoding\tencoding used to print the PostScript file for :hardcopy") - call <SID>OptionG("penc", &penc) - call append("$", "printexpr\texpression used to print the PostScript file for :hardcopy") - call <SID>OptionG("pexpr", &pexpr) + if has("postscript") + call append("$", "printexpr\texpression used to print the PostScript file for :hardcopy") + call <SID>OptionG("pexpr", &pexpr) + endif call append("$", "printfont\tname of the font to be used for :hardcopy") call <SID>OptionG("pfn", &pfn) call append("$", "printheader\tformat of the header used for :hardcopy") call <SID>OptionG("pheader", &pheader) - call append("$", "printoptions\tlist of items that control the format of :hardcopy output") - call <SID>OptionG("popt", &popt) + if has("postscript") + call append("$", "printencoding\tencoding used to print the PostScript file for :hardcopy") + call <SID>OptionG("penc", &penc) + endif + if has("multi_byte") + call append("$", "printmbcharset\tthe CJK character set to be used for CJK output from :hardcopy") + call <SID>OptionG("pmbcs", &pmbcs) + call append("$", "printmbfont\tlist of font names to be used for CJK output from :hardcopy") + call <SID>OptionG("pmbfn", &pmbfn) + endif endif call <SID>Header("messages and info") |