Mercurial > vim
diff src/ex_docmd.c @ 5776:845608965bd9 v7.4.232
updated for version 7.4.232
Problem: ":%s/\n//" uses a lot of memory. (Aidan Marlin)
Solution: Turn this into a join command. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 01 Apr 2014 17:49:44 +0200 |
parents | f069a3a0f844 |
children | 22a1d5762ba3 |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -316,7 +316,6 @@ static void ex_winpos __ARGS((exarg_T *e static void ex_operators __ARGS((exarg_T *eap)); static void ex_put __ARGS((exarg_T *eap)); static void ex_copymove __ARGS((exarg_T *eap)); -static void ex_may_print __ARGS((exarg_T *eap)); static void ex_submagic __ARGS((exarg_T *eap)); static void ex_join __ARGS((exarg_T *eap)); static void ex_at __ARGS((exarg_T *eap)); @@ -8683,7 +8682,7 @@ ex_copymove(eap) /* * Print the current line if flags were given to the Ex command. */ - static void + void ex_may_print(eap) exarg_T *eap; {