Mercurial > vim
comparison src/arglist.c @ 34190:4f8b57f8b07a v9.1.0046
patch 9.1.0046: :drop does not re-use empty buffer
Commit: https://github.com/vim/vim/commit/f96dc8d07f752ddd96d1447d85278a85255a1462
Author: Rocco Mao <dapeng.mao@qq.com>
Date: Tue Jan 23 21:27:19 2024 +0100
patch 9.1.0046: :drop does not re-use empty buffer
Problem: :drop does not re-use empty buffer
(Rocco Mao)
Solution: Make :drop re-use an empty buffer
(Rocco Mao)
fixes: #13851
closes: #13881
Signed-off-by: Rocco Mao <dapeng.mao@qq.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Jan 2024 21:30:05 +0100 |
parents | f4d88db48a63 |
children | 9335b3e58558 |
comparison
equal
deleted
inserted
replaced
34189:598c8c0a779c | 34190:4f8b57f8b07a |
---|---|
500 * Redefine the argument list. | 500 * Redefine the argument list. |
501 */ | 501 */ |
502 void | 502 void |
503 set_arglist(char_u *str) | 503 set_arglist(char_u *str) |
504 { | 504 { |
505 do_arglist(str, AL_SET, 0, FALSE); | 505 do_arglist(str, AL_SET, 0, TRUE); |
506 } | 506 } |
507 | 507 |
508 /* | 508 /* |
509 * Return TRUE if window "win" is editing the file at the current argument | 509 * Return TRUE if window "win" is editing the file at the current argument |
510 * index. | 510 * index. |