From a0d766126a97d2d1168f07735c4a1dc24a8bab9a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 6 Jun 2013 14:36:54 +0900 Subject: [PATCH] add load-path for gtags --- emacs.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs.el b/emacs.el index 31f05fd..939ed69 100644 --- a/emacs.el +++ b/emacs.el @@ -969,6 +969,11 @@ If called intearctively, find word at point." ;; http://eigyr.dip.jp/gtags.html ;; http://cha.la.coocan.jp/doc/gnu_global.html +(let ((d "/opt/local/share/gtags/")) + (and (file-directory-p d) + (add-to-list 'load-path + d))) + (when (lazy-load-eval 'gtags '(gtags-mode)) (add-hook 'gtags-mode-hook (lambda ()