 (defun my-shell-erase-buffer ()
   (interactive)
   (erase-buffer)
-  (comint-next-input t))
+  (comint-send-input))
 
 (add-hook 'shell-mode-hook
           (lambda ()

            (set (make-variable-buffer-local
                  'show-trailing-whitespace)
                 nil)
            (define-key shell-mode-map (kbd "C-c e")
              'my-shell-erase-buffer)
            (define-key shell-mode-map (kbd "<right>")

    (dolist (p missing)
      (package-install p))))

(load-theme 'solarized-dark t)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

