среда, 3 октября 2012 г., 23:55:28 UTC+4 пользователь Christian Brabandt 
написал:
> diff --git a/src/ex_getln.c b/src/ex_getln.c
> --- a/src/ex_getln.c
> +++ b/src/ex_getln.c
> @@ -668,8 +668,7 @@
>             --no_mapping;
>             --allow_keys;
>             /* CTRL-\ e doesn't work when obtaining an expression. */
> -           if (c != Ctrl_N && c != Ctrl_G
> -                                    && (c != 'e' || ccline.cmdfirstc == '='))
> +           if (c != Ctrl_N && c != Ctrl_G && c != 'e')
>             {
>                 vungetc(c);
>                 c = Ctrl_BSL;
>
I guess it needs to be
diff --git a/src/ex_getln.c b/src/ex_getln.c 
--- a/src/ex_getln.c 
+++ b/src/ex_getln.c 
@@ -668,8 +668,7 @@ 
            --no_mapping; 
            --allow_keys; 
-           /* CTRL-\ e doesn't work when obtaining an expression. */ 
-           if (c != Ctrl_N && c != Ctrl_G 
-                                    && (c != 'e' || ccline.cmdfirstc == '=')) 
+           if (c != Ctrl_N && c != Ctrl_G && c != 'e') 
            { 
                vungetc(c); 
                c = Ctrl_BSL;
as the comment is no longer valid in this case.

-- 
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

Raspunde prin e-mail lui