Mercurial > vim
diff src/buffer.c @ 4936:ae05437a744a v7.3.1213
updated for version 7.3.1213
Problem: Can't build with small features and Python.
Solution: Adjust #ifdefs.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 16 Jun 2013 17:32:40 +0200 |
parents | 66803af09906 |
children | b614332f7df2 |
line wrap: on
line diff
--- a/src/buffer.c +++ b/src/buffer.c @@ -984,6 +984,10 @@ do_bufdel(command, arg, addr_count, star return errormsg; } +#endif /* FEAT_LISTCMDS */ + +#if defined(FEAT_LISTCMDS) || defined(FEAT_PYTHON) \ + || defined(FEAT_PYTHON3) || defined(PROTO) /* * Implementation of the commands for the buffer list. @@ -1364,8 +1368,7 @@ do_buffer(action, start, dir, count, for return OK; } - -#endif /* FEAT_LISTCMDS */ +#endif /* * Set current buffer to "buf". Executes autocommands and closes current