 ;; Handle installing packages in emacs
 (defun ensure-package-installed (&rest packages)
   "Assure every package is installed, ask for installation if it’s not.
-  Return a list of installed packages or nil for every skipped package."
+Return a list of installed PACKAGES or nil for every skipped package."
   (mapcar
     (lambda (package)
       (if (package-installed-p package)

(add-hook 'kill-buffer-query-functions 'immortal-scratch)


;;disable backup
(setq backup-inhibited t)

;;disable auto save
(setq auto-save-default nil)

;; no line wrapping


;; for now, the clipboard thing is messy
(defun copy-to-clipboard ()
  "Copy from buffer to clipboard rather than to register."
  (interactive)
  (if (display-graphic-p)
    (progn
