 (defvar mouse-wheel-mode nil)
 (use-package centered-cursor-mode
   :ensure t)
-(global-centered-cursor-mode +1)
 
 (defun ar/create-non-existent-directory ()
   (let ((parent-directory (file-name-directory buffer-file-name)))

  "Write the desktop save file to ~/.emacs.d."
  (desktop-save (expand-file-name "~/.emacs.d/")))

(run-with-idle-timer 300 t 'ar/desktop-save)

(defun ar/load-all-files (pattern)
  "Load all files found by PATTERN, ie. (ar/load-all-files '~/*.el')."

  (flyspell-prog-mode)
  (whitespace-mode)
  (rainbow-delimiters-mode)
  (linum-mode)
  (centered-cursor-mode)
  ;; Language-aware editing commands. Useful for imenu-menu.
  (semantic-mode 1)
  (yas-minor-mode))

(defun ar/markdown-mode-hook-function ()
