Re: mg(1) evaluate multi-argument commands

2019-07-09 Thread Mark Lumsden
This is a modified diff of the previous evaluate multi-argument diff. The main difference is that all functions are given a number of parameters in the function map, this number represents how many arguments are required for the function to work. This extra column indicates to multiarg() how it

Re: mg(1) evaluate multi-argument commands

2019-07-05 Thread Mark Lumsden
I should add, I meant to put checks in for the calls to strlcpy and strlcat, but was pushed for time and forgot.. but of course they would be put in.

mg(1) evaluate multi-argument commands

2019-07-05 Thread Mark Lumsden
I was finding it a bit tedious with long evaluation buffers so I wrote a function that would translate these three (or more) lines: find-file a.txt find-file b.txt find-file c.txt into this one line: (find-file a.txt b.txt c.txt) There are a few commands that can be used like this: insert, s