summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-11-16 17:19:08 +0100
committerAlan Pearce2015-11-16 17:19:08 +0100
commit4f8474bb4397513c51f3b997aab94855200f29bf (patch)
tree2ddc781c357cb06d3030a13cb64c63299f957734
parenta6486abd8b4f7e47884bf324ac7fcb7b76d4e260 (diff)
downloadnixfiles-4f8474bb4397513c51f3b997aab94855200f29bf.tar.lz
nixfiles-4f8474bb4397513c51f3b997aab94855200f29bf.tar.zst
nixfiles-4f8474bb4397513c51f3b997aab94855200f29bf.zip
Emacs: Ensure ag package is available
-rw-r--r--tag-emacs/emacs.d/init.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index b832b037..8c90cbae 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -84,6 +84,14 @@ pass =:noerror= to =load=
   (projectile-persp-switch-project (expand-file-name "dotfiles" home-project-directory)))
 #+END_SRC
 
+** The Silver Searcher
+
+#+BEGIN_SRC emacs-lisp
+  (req-package ag
+    :defer 30
+    :config (setq ag-project-root-function #'projectile-project-root))
+#+END_SRC
+
 ** Projectile
 
 Projectile is awesome for working in projects, especially VCS-backed