   "Replace DOS eolns CR LF with Unix eolns CR"
   (interactive)
   (goto-char (point-min))
-    (while (search-forward "\r" nil t) (replace-match "")))
+  (while (search-forward "\r" nil t) (replace-match "")))
 
 (defun text-autoformat-region ()
   "Call Text::Autoformat interactively on region"

(unless package-archive-contents
  (package-refresh-contents))

; install the missing packages
(dolist (package package-selected-packages)
  (unless (package-installed-p package)
    (package-install package)))

 indent-tabs-mode nil
 sentence-end-double-space nil
 term-mode-hook nil
 ;; isearch-allow-scroll t
 diff-switches "-u"
 vc-follow-symlinks 1)

;; If only it would work all the time.
(setq-default save-place t)

;; Save all tempfiles in $TMPDIR/emacs$UID/, the same dir as the emacs
;; server uses. It's nice to have all mess in the same place.
