 (setq auto-save-default nil)
 
 ;;; Don't inset magic comment in ruby-mode
-(setq ruby-insert-encoding-magic-comment nil)
+(defvar ruby-insert-encoding-magic-comment nil)
 
 ;;; 対応するペアを自動で入力してくれる(), {}, ||, "", ''
 (electric-pair-mode t)
+(defvar electric-pair-pairs)
 (add-to-list 'electric-pair-pairs '(?| . ?|))
 (add-to-list 'electric-pair-pairs '(?' . ?'))
 

(add-to-list 'company-backends 'company-go)

(add-to-list 'load-path (concat (getenv "GOPATH")  "/src/github.com/golang/lint/misc/emacs"))
(require 'golint)

(add-hook 'go-mode-hook
          '(lambda()
            (setq tab-width 4)
            (add-hook 'before-save-hook 'gofmt-before-save)
            (setq c-basic-offset 4)
            (setq indent-tabs-mode t)))

;;; init.el --- init.el
;;; Commentary:
;;; This is my setting file.
;;; Code:

;;; 右から左に読む言語に対応させないことで描画高速化
(setq-default bidi-display-reordering nil)
;;; splash screenを無効にする
