Wilfred / ag.el

An Emacs frontend to The Silver Searcher
http://agel.readthedocs.org/en/latest/
525 stars 61 forks source link

treat numeric prefix argument as the number of context lines #107

Closed wbolster closed 8 years ago

wbolster commented 8 years ago

it would be awesome if the various ag-... functions would pass on a numeric prefix argument, e.g. M-5, as the number of context lines (the -C ... flag to ag). right now numeric prefixes are ignored, and a prompt to tweak ag options is shown if a universal/prefix argument is specified.