diff options
author | Christian Brabandt <cb@256bit.org> | 2024-03-20 20:19:47 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-20 20:20:39 +0100 |
commit | 978178823b7c62a0249411f3d1f584f8a3144c5d (patch) | |
tree | f7d0b3b53d643f638b410f01bca93fbba311e206 /src/testdir/dumps | |
parent | 2680a074d4790abb372ecda658b0c455a6fe06cf (diff) |
patch 9.1.0192: drop: don't rewind when editing the same filev9.1.0192
Problem: :drop tries to :rewind the argumentlist, which results in E37
(after v9.1.0046)
Solution: instead of calling ex_rewind(), call open_buffer() only when
re-using the initial empty buffer
fixes: #14219
closes: #14220
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/dumps')
-rw-r--r-- | src/testdir/dumps/Test_drop_modified_1.dump | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/dumps/Test_drop_modified_1.dump b/src/testdir/dumps/Test_drop_modified_1.dump new file mode 100644 index 0000000000..bbd60c0888 --- /dev/null +++ b/src/testdir/dumps/Test_drop_modified_1.dump @@ -0,0 +1,10 @@ +>T+0&#ffffff0|h|e| |q|u|i|c|k| |b|r|o|w|n| |f|o|x| |j|u|m|p|e|d| |o|v|e|r| |t|h|e| |l|a|z|y| |d|o|g|s| @29 +|~+0#4040ff13&| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|:+0#0000000&|d|r|o|p| |X|d|r|o|p|_|m|o|d|i|f|i|e|d|.|t|x|t| @32|1|,|1| @10|A|l@1| |