mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
zsh-workers/7655
This commit is contained in:
parent
8fae20eee0
commit
b82790d1f6
1 changed files with 2 additions and 2 deletions
|
@ -874,6 +874,8 @@ docomplete(int lst)
|
|||
metafy_line();
|
||||
|
||||
ocs = cs;
|
||||
origline = dupstring((char *) line);
|
||||
origcs = cs;
|
||||
if (!isfirstln && chline != NULL) {
|
||||
/* If we are completing in a multi-line buffer (which was not *
|
||||
* taken from the history), we have to prepend the stuff saved *
|
||||
|
@ -897,8 +899,6 @@ docomplete(int lst)
|
|||
autoq = '\0';
|
||||
/* Get the word to complete. */
|
||||
noerrs = 1;
|
||||
origline = dupstring((char *) line);
|
||||
origcs = cs;
|
||||
s = get_comp_string();
|
||||
DPUTS(wb < 0 || cs < wb || cs > we,
|
||||
"BUG: 0 <= wb <= cs <= we is not true!");
|
||||
|
|
Loading…
Reference in a new issue