]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0852: No warning when X11 registers are not available v9.1.0852
authorChristian Brabandt <cb@256bit.org>
Mon, 11 Nov 2024 19:52:55 +0000 (20:52 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 11 Nov 2024 19:52:55 +0000 (20:52 +0100)
commit45e0704d9670c10bfaf2bb408d6a5cd639d23835
tree98d7cc47ea09f24d06524ab811e9212c344fd1b8
parente7a1bbf2102ecd2083613ff18d7d46c45d1e568e
patch 9.1.0852: No warning when X11 registers are not available

Problem:  No warning when X11 registers are not available
          (delvh)
Solution: Output W23 once when connection to X11 clipboard/selection
          is not possible, mention in the documentation, that register 0
          will be used instead

Vim silently uses the 0 register, when clipboard or selection register * or +
are not available. This might be a bit unexpected for the user.

So let's just warn once when this happens.

fixes: #14768
closes: #16013

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/gui.txt
runtime/doc/gui_x11.txt
runtime/doc/tags
src/clipboard.c
src/message.c
src/proto/message.pro
src/register.c
src/testdir/test_registers.vim
src/version.c