home/test/regression/1518-wrong-undo-handling-with-fifo-buffers/cmd
Maxime Coste fc64369f9d Purge history on buffer reload when NoUndo flag is on
We were preserving the history in that case, so on fifo buffers
(that set the NoUndo flag until the fifo is closed), we still had
the history from the "previous life" of the buffer, leading crashes
when trying to apply it.

Fixes #1518
2017-08-04 11:39:28 +07:00

2 lines
54 B
Plaintext

<a-O>ifoo<c-u><esc>:edit -fifo /dev/null <c-r>%<ret>u