35674: make an undo event for initial buffer contents

This commit is contained in:
Oliver Kiddle 2015-07-03 22:56:03 +02:00
parent 439764a43f
commit acb05d1616
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2015-07-03 Oliver Kiddle <opk@zsh.org>
* 35674: Src/Zle/zle_main.c: make an undo event for
initial buffer contents
2015-07-03 Mikael Magnusson <mikachu@gmail.com>
* 35673: Completion/Zsh/Function/_zargs: Improve _zargs

View file

@ -1206,6 +1206,7 @@ zleread(char **lp, char **rp, int flags, int context, char *init, char *finish)
histline = stackhist;
stackhist = -1;
}
handleundo();
}
/*
* If main is linked to the viins keymap, we need to register