Mercurial > vim
diff src/ex_docmd.c @ 2350:06feaf4fe36a vim73
Rename some "python3" symbols to "py3", as the command name.
Documentation updates.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 19 Jul 2010 20:46:22 +0200 |
parents | 99c1eba60b2d |
children | d8e4b27cef80 |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -270,7 +270,7 @@ static void ex_popup __ARGS((exarg_T *ea # 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);