From 54be5fb382d2bf25fd1b17ddab8b21f599019b81 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Fri, 12 May 2023 17:49:13 +0100 Subject: patch 9.0.1546: some commands for opening a file don't use 'switchbuf' Problem: Some commands for opening a file don't use 'switchbuf'. Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan, closes #12383, closes #12381) --- src/buffer.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index 174ca1efb8..60b7c80971 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2560,7 +2560,6 @@ buflist_getfpos(void) } } -#if defined(FEAT_QUICKFIX) || defined(FEAT_EVAL) || defined(FEAT_SPELL) || defined(PROTO) /* * Find file in buffer list by name (it has to be for the current window). * Returns NULL if not found. @@ -2586,7 +2585,6 @@ buflist_findname_exp(char_u *fname) } return buf; } -#endif /* * Find file in buffer list by name (it has to be for the current window). -- cgit v1.2.3