summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2023-05-12 17:49:13 +0100
committerBram Moolenaar <Bram@vim.org>2023-05-12 17:49:13 +0100
commit54be5fb382d2bf25fd1b17ddab8b21f599019b81 (patch)
tree2f8247870b818760f7dac718281ed4067090baf5 /src/buffer.c
parent8667a5678f983ba899825b810ab849952d49bcb8 (diff)
patch 9.0.1546: some commands for opening a file don't use 'switchbuf'v9.0.1546
Problem: Some commands for opening a file don't use 'switchbuf'. Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan, closes #12383, closes #12381)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 0 insertions, 2 deletions
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).