                      (cons
                       '("\\(\\(?:Parse error\\|Fatal error\\|Warning\\): .*\\) in \\(.*\\) on line \\([0-9]+\\)" 2 3 nil 1)
                       flymake-err-line-patterns))
-               (cond
-                ((and (featurep 'tramp)
-                      tramp-mode
-                      (tramp-tramp-file-p default-directory))
-                 ;; TRAMPのファイルだったらflymakeを無効にする
-                 (flymake-mode nil))
-                (t
-                 (flymake-mode t)))))
+               ))
   (add-hook 'yaml-mode-hook
             '(lambda()
                ;; YAML用設定

         ((eq 0 (string-match (expand-file-name "~/.zsh-functions/") name)) nil)
         ((eq 0 (string-match (file-truename "~/.zsh-functions/") name)) nil)
         ((string-match "^/sudo:[^/]*:/" name) nil)
         ((string-match "^/multi:[^/]*:sudo:[^/]*:/" name) nil)
         (t (normal-backup-enable-predicate name)))))


(setq auto-save-file-name-transforms
      `((".*/Dropbox/.*" ,(expand-file-name "~/tmp/") t)
        ("^/sudo:[^/]*:/.*" ,(expand-file-name "~root/tmp/") t)
        ("^/ssh:[^/]*:/.*" ,(expand-file-name "~/tmp/") t)
        ("^/multi:[^/]*:sudo:.*" ,(expand-file-name "~root/tmp/") t)))

;; auto-save-buffers: Emacsでファイルの自動保存
