 
   (when (equal system-type 'gnu/linux)
     (setq mu4e-mu-binary "/usr/bin/mu"))
+
+  (when (fboundp 'imagemagick-register-types)
+    (imagemagick-register-types))
 
   (setq mu4e-maildir "~/Maildir"
         mu4e-drafts-folder "/[Gmail].Drafts"


(defun setup-cider ()
  (require 'cider)
  (add-hook 'cider-mode-hook #'eldoc-mode)
  ;; (setq cider-auto-mode nil)
  ;; (setq nrepl-log-messages nil)
  ;; (setq nrepl-hide-special-buffers t)

;; (global-set-key (kbd "C-e") 'mwim-end-of-code-or-line)
(global-set-key (kbd "C-.") 'imenu-anywhere)
(global-set-key (kbd "M-\\") 'shrink-whitespace)
(global-set-key (kbd "M-o") 'other-window)
