               (helm-do-ag dir)
             (message "error: Not in a project."))))
 
-      (defun spacemacs/helm-do-ag-region-or-symbol ()
-        "Search with `ag' with a default input."
-        (interactive)
-        (spacemacs//helm-do-ag-region-or-symbol 'helm-do-ag))
-
       (defun spacemacs/helm-project-do-ag-region-or-symbol ()
         "Search with `ag' with a default input in project."
         (interactive)

                        (this-fn thing)))))
          (funcall func dir)))

      (defun spacemacs/helm-project-do-ag ()
        "Search with ag using `helm-ag' in project"
        (interactive)

              (spacemacs/helm-do-pt dir)
            (message "error: Not in a project."))))


      (defun spacemacs/helm-project-do-pt-region-or-symbol ()
        "Search with pt using `helm-ag' using a default input in project."
