Browse Source

add load-path for gtags

pull/1/head
10sr 11 years ago
parent
commit
a0d766126a
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el View File

@@ -969,6 +969,11 @@ If called intearctively, find word at point."
;; http://eigyr.dip.jp/gtags.html ;; http://eigyr.dip.jp/gtags.html
;; http://cha.la.coocan.jp/doc/gnu_global.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)) (when (lazy-load-eval 'gtags '(gtags-mode))
(add-hook 'gtags-mode-hook (add-hook 'gtags-mode-hook
(lambda () (lambda ()


Loading…
Cancel
Save