                       pixie-mode
                       lua-mode
                       expand-region
-                      sublime-themes
                       vc-darcs
                       ninja-mode
                       ag

      smtpmail-smtp-service 587)

(setq message-kill-buffer-on-exit t)
(global-set-key (kbd "C-c m") 'mu4e)

;;; message view action
(defun mu4e-msgv-action-view-in-browser (msg)
  "View the body of the message in a web browser."
  (interactive)


(add-hook 'pixie-mode-hook #'inf-clojure-minor-mode)
(require 'expand-region)

(require 'define-word)
(require 'repl-toggle)
(require 'sx)

(exec-path-from-shell-initialize)

(setq vc-disable-async-diff nil)        ;; hotfix: vc-darcs je modul o ktery se zjevne nikdo moc nestara
(add-to-list 'vc-handled-backends 'DARCS)
(autoload 'vc-darcs-find-file-hook "vc-darcs")
(add-hook 'find-file-hooks 'vc-darcs-find-file-hook)

(autoload 'ace-jump-mode "ace-jump-mode" "Emacs quick move minor mode" t)
(eval-after-load "ace-jump-mode" '(ace-jump-mode-enable-mark-sync))

(require 'ace-jump-buffer)
(require 'google-translate)
(require 'google-translate-default-ui)
;; (require 'google-translate-smooth-ui)

(load-theme 'flatui t)

(require 'wgrep)
(require 'wgrep-ag)

(require 'mwim)

(autoload 'glsl-mode "glsl-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.glsl\\'" . glsl-mode))
