 
 ;; avoid "Symbolic link to SVN-controlled source file; follow link? (yes or no)"
 (setq vc-follow-symlinks t)
-
-;; package.el
-
-(when (require 'package nil t)
-  (add-to-list 'package-archives
-               '("melpa" . "http://melpa.milkbox.net/packages/") t)
-  (add-to-list 'package-archives
-               '("marmalade" . "http://marmalade-repo.org/packages/") t)
-  (package-initialize))
-
-(defvar installing-package-list
-  '(
-    ;; ここに使っているパッケージを書く。
-    php-mode
-    haskell-mode
-    yaml-mode
-    open-junk-file
-    gtags
-    ))
-
-(eval-when-compile
-  (require 'cl))
-
-(let ((not-installed (loop for x in installing-package-list
-                            when (not (package-installed-p x))
-                            collect x)))
-  (when not-installed
-    (package-refresh-contents)
-    (dolist (pkg not-installed)
-        (package-install pkg))))
 
 ;; anthy.el をロードする。
 (if (require 'anthy nil t)

        "/opt/local/lib/erlang/lib/tools-2.6.1/emacs/"
        )
       load-path))

;; init.elをセーブすると勝手にコンパイルする
(defun byte-compile-dot-emacs ()

  (setq recentf-max-saved-items 500)
  (recentf-mode 1)
)

;; gtags

(when (require 'gtags nil t)
  (setq gtags-suggested-key-mapping t)
  (add-hook 'c-mode-common-hook
            '(lambda()
               (gtags-mode 1))))

;; キーバインド
;(setq gtags-mode-hook
