patch 9.1.0178: E1513 might be confusing

Problem:  E1513 might be confusing
          (Christoph Thoma)
Solution: reword error message, fix test to not
          depend on the actual message

fixes: #14189

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-03-13 20:59:27 +01:00
parent 8c55d60658
commit 0a32b8854b
4 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,4 @@
*message.txt* For Vim version 9.1. Last change: 2024 Mar 05
*message.txt* For Vim version 9.1. Last change: 2024 Mar 13
VIM REFERENCE MANUAL by Bram Moolenaar
@ -123,7 +123,7 @@ You cannot have two buffers with exactly the same name. This includes the
path leading to the file.
*E1513*
Cannot edit buffer. 'winfixbuf' is enabled ~
Cannot switch buffer. 'winfixbuf' is enabled ~
If a window has 'winfixbuf' enabled, you cannot change that window's current
buffer. You need to set 'nowinfixbuf' before continuing. You may use [!] to