.emacs

(add-to-list 'load-path "/usr/share/emacs/site-lisp/global")
(add-to-list 'load-path "~/.emacs.d/elisp")
(autoload 'gtags-mode "gtags" "" t)
(require 'gtags nil t)
; (require 'migemo nil t)

(when (require 'package)
  (package-initialize)
  (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
  (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t)
)

(require 'e2wm)

(require 'xcscope)
(cscope-setup)
(autoload 'markdonw-mode "markdown-mode.el" "Major mode for editting Markdown files" t)
(setq auto-mode-alist (cons '("\\.markdown" . markdown-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.md" . markdown-mode) auto-mode-alist))

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(dired-recursive-copies (quote always))
 '(dired-recursive-deletes (quote always))
 '(markdown-command "kramdown")
 '(tab-width 8))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(default ((t (:family "Takaoゴシック" :foundry "unknown" :slant normal :weight normal :height 98 :width normal)))))
(put 'narrow-to-region 'disabled nil)