diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-29 13:44:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-29 13:44:41 +0200 |
commit | e79abddb2fbc306beb61204432c92f3739bafd2c (patch) | |
tree | d1916ee9ee548563e13e78575fc9fec7ce826a78 /src/ex_getln.c | |
parent | 88b1ba151ae7bb66dc92c85f1eb63fe7fcc03051 (diff) |
updated for version 7.3.574v7.3.574
Problem: When pasting a register in the search command line a CTRL-L
character is not pasted. (Dominique Pelle)
Solution: Escape the CTRL-L. (Christian Brabandt)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index c823119adc..0c7dd80363 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -3133,7 +3133,8 @@ cmdline_paste_str(s, literally) else #endif c = *s++; - if (cv == Ctrl_V || c == ESC || c == Ctrl_C || c == CAR || c == NL + if (cv == Ctrl_V || c == ESC || c == Ctrl_C + || c == CAR || c == NL || c == Ctrl_L #ifdef UNIX || c == intr_char #endif @@ -4692,7 +4693,7 @@ ExpandFromContext(xp, pat, num_file, file, options) if (tab[i].ic) regmatch.rm_ic = TRUE; ret = ExpandGeneric(xp, ®match, num_file, file, - tab[i].func, tab[i].escaped); + tab[i].func, tab[i].escaped); break; } } @@ -5125,7 +5126,7 @@ ExpandRTDir(pat, num_file, file, dirnames) vim_free(matches); } if (ga.ga_len == 0) - return FAIL; + return FAIL; /* Sort and remove duplicates which can happen when specifying multiple * directories in dirnames. */ |