diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-25 16:02:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-25 16:02:23 +0100 |
commit | f80f40a55ccff0a4331c5fbd1ac446511f622ed0 (patch) | |
tree | 6a43d76ea652831205c8df6439b98717a6425188 /src/alloc.c | |
parent | b213703f358e1e10ba0affb3729c09ccb2c88ea3 (diff) |
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny versionv9.0.0265
Problem: No good reason why the "gf" command is not in the tiny version.
Solution: Graduate the file_in_path feature.
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/alloc.c b/src/alloc.c index 7ca20c7189..932d67a127 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -158,10 +158,10 @@ alloc(size_t size) void * alloc_id(size_t size, alloc_id_T id UNUSED) { -#ifdef FEAT_EVAL +# ifdef FEAT_EVAL if (alloc_fail_id == id && alloc_does_fail(size)) return NULL; -#endif +# endif return lalloc(size, TRUE); } #endif @@ -425,9 +425,7 @@ free_all_mem(void) } free_titles(); -# if defined(FEAT_SEARCHPATH) free_findfile(); -# endif // Obviously named calls. free_all_autocmds(); |