 ;;
 ;; Author: Wilfred Hughes <me@wilfred.me.uk>
 ;; Created: 11 January 2012
-;; Version: 0.7
+;; Version: 0.10
 
 ;;; Commentary
 

;; I like to bind ag-project-at-point to F5:

;; (global-set-key (kbd "<f5>") 'ag-project-at-point)

;;; Todo:

;; 1. Add ag-regexp
;; 2. Add highlighting to *Ag* buffer

;;; License:


  "Search using ag in a given directory for a given string."
  (interactive "sSearch string: \nDDirectory: ")
  (ag/search string directory))

(defun ag-regexp (string directory)
  "Search using ag in a given directory for a given string."
  (interactive "sSearch regexp: \nDDirectory: ")
  (ag/search string directory t))

(defun ag-project (string)
  "Guess the root of the current project and search it with ag
