 
 (use-package ido
   :init
-  (add-hook 'window-setup-hook 'ido-mode) ;; defer til the end of start-up
+  (add-hook 'window-setup-hook #'ido-mode) ;; defer til the end of start-up
   (setq ad-redefinition-action 'accept)
   :config
   (setq ad-redefinition-action 'warn)

        org-latex-packages-alist '(("" "minted"))
        org-latex-listings 'minted
        org-confirm-babel-evaluate nil)
  (add-hook 'org-mode-hook 'turn-on-auto-fill)
  (add-hook 'org-mode-hook 'turn-on-org-cdlatex))

(use-package markdown-mode
  :mode

               ("x" . mc/mark-all-in-region)
               (";" . comment-box)))

  (use-package aggressive-indent
    :demand
    :bind ("H-m i" . global-aggressive-indent-mode)
    :config (global-aggressive-indent-mode 1))

  (use-package undo-tree
    :diminish " ψ"
    :config (global-undo-tree-mode 1))

  (use-package hippie-exp
    ;; this package always gets loaded at startup even with defer
    ;; had to hide it here
