diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-10-12 21:48:59 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-12-12 02:07:58 -0500 |
commit | 149da2b62045fde28cc712d11d04f611b0163896 (patch) | |
tree | e2793870b700a6fcfd00abe4df210372cfff32dd /lisp/km-projectile.el | |
parent | 65fb8ac42e98e8ddbc974ef5426362205daa899f (diff) | |
download | emacs.d-149da2b62045fde28cc712d11d04f611b0163896.tar.gz |
Switch to ivy
I've tried it for a few months and quite happy with it.
Diffstat (limited to 'lisp/km-projectile.el')
-rw-r--r-- | lisp/km-projectile.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/km-projectile.el b/lisp/km-projectile.el index 0d52bdf..cb4d0fe 100644 --- a/lisp/km-projectile.el +++ b/lisp/km-projectile.el @@ -208,5 +208,11 @@ Like `projectile-kill-buffers', but (get-buffer-window b))) (projectile-project-buffers)))) +(defun km/projectile-maybe-activate-xref-etags-mode () + (let ((root (projectile-project-root))) + (when (and root + (file-exists-p (expand-file-name "TAGS" root))) + (xref-etags-mode 1)))) + (provide 'km-projectile) ;;; km-projectile.el ends here |