 
 (defun dotemacs/external-behaviour ()
   (message "dotemacs/external-behaviour")
+
+  ;; automatically revert buffers if file contents change
+  (use-package autorevert
+    :defer 0.1)
 
   (use-package files
     :hook

                      tags-file-name
                      register-alist)))
      (add-to-list 'desktop-modes-not-to-save 'dired-mode)
      (desktop-save-mode 1)
      )
    )

  (use-package solarized-theme
    :ensure

    (prog-mode . flycheck-mode))

  ;; projectile

  ;; Trigger different comment actions taking the current location
  ;; of the point into acount.
  (use-package smart-comment
    :ensure t
    :bind ("M-;" . smart-comment))

  ;; Project interaction, management and navigation
  (use-package projectile
    :defer 0.2
    :ensure t
    :bind

    (:map mode-specific-map ("p" . projectile-command-map))  ;; C-c p ...
    :custom
    (projectile-completion-system 'ivy))
