From 06d0a3c72ec7e7e60379f53665ca26eaf0112cc4 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sat, 17 Dec 2016 12:54:34 +0800 Subject: [PATCH] autoload searching tools --- org-seek.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/org-seek.el b/org-seek.el index f05e88b..b012f34 100644 --- a/org-seek.el +++ b/org-seek.el @@ -2,7 +2,7 @@ ;; Author: stardiviner ;; Maintainer: stardiviner -;; Keywords: org search +;; Keywords: org search ag pt ;; URL: https://github.com/stardiviner/org-seek.el ;; Created: 12th Dec 2016 ;; Version: 0.1.0 @@ -10,6 +10,8 @@ ;;; Commentary: +;; You need to install at least one of searching tools: ag, pt, grep etc. + ;;; Code: ;;; ---------------------------------------------------------------------------- ;; load function `ag/read-from-minibuffer', `ag/search' @@ -33,6 +35,10 @@ The search tool can be: ag, pt, ripgrep, grep, ack." :group 'org-seek) +(autoload 'ag/search "ag") +(autoload 'pt-regexp "pt") +(autoload 'ripgrep-regexp "ripgrep") + ;;;###autoload (defun org-seek-string (string directory) "Full context searching STRING using ag in a given DIRECTORY. -- 2.11.4.GIT