Wilfred / ag.el

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

How to remove --column from ag-arguments #135

Open hisnawi opened 7 years ago

hisnawi commented 7 years ago

I am trying to remove the column number from the search results. I tried this:

(use-package ag
:ensure t
:config
      (setq ag-arguments (remove '("--column") ag-arguments))
      (setq ag-arguments (delete '("--column") ag-arguments))
)

But that did not work. Any help is appreciated.

yubing24 commented 6 months ago

Use remove "--column" ag-arguments, so your setq statement becomes: (setq ag-arguments (remove "--column" ag-arguments))