forked from aniani/vim
patch 8.1.0657: get error for using regexp recursively
Problem: Get error for using regexp recursively. (Dominique Pelle) Solution: Do no check if connection is desired.
This commit is contained in:
@@ -1742,8 +1742,8 @@ x_IOerror_handler(Display *dpy UNUSED)
|
||||
static void
|
||||
may_restore_clipboard(void)
|
||||
{
|
||||
// Only try restoring if we want the connection.
|
||||
if (x_connect_to_server() && xterm_dpy_retry_count > 0)
|
||||
// No point in restoring the connecting if we are exiting or dying.
|
||||
if (!exiting && !v_dying && xterm_dpy_retry_count > 0)
|
||||
{
|
||||
--xterm_dpy_retry_count;
|
||||
|
||||
|
Reference in New Issue
Block a user