diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-19 20:46:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-19 20:46:22 +0200 |
commit | 368373e9092da2d609b540afdac998b474441d57 (patch) | |
tree | b1c849bc91035a665489d10e0a8aeb773805ae07 /src/ex_docmd.c | |
parent | a7781e0516ce0b95afc21ad65bf47571922c022a (diff) | |
download | vim-368373e9092da2d609b540afdac998b474441d57.zip |
Rename some "python3" symbols to "py3", as the command name.
Documentation updates.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index c57db9496..b56fb670b 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -270,7 +270,7 @@ static void ex_popup __ARGS((exarg_T *eap)); # define ex_pyfile ex_ni #endif #ifndef FEAT_PYTHON3 -# define ex_python3 ex_script_ni +# define ex_py3 ex_script_ni # define ex_py3file ex_ni #endif #ifndef FEAT_TCL @@ -2562,7 +2562,7 @@ do_one_cmd(cmdlinep, sourcing, case CMD_perl: case CMD_psearch: case CMD_python: - case CMD_python3: + case CMD_py3: case CMD_return: case CMD_rightbelow: case CMD_ruby: @@ -2825,7 +2825,7 @@ find_command(eap, full) { while (ASCII_ISALPHA(*p)) ++p; - /* for python 3.x support (:py3, :python3) */ + /* for python 3.x support ":py3" (and ":py4" :-) */ if (eap->cmd[0] == 'p' && eap->cmd[1] == 'y') p = skipdigits(p); |