     (interactive)
     (if-let ((path (buffer-file-name)))
         (let* ((str (format "include(\"%s\")" (sm/path-localname path)))) ;; Don't include tramp info.
-          (sm/comint-print-and-send (sm/julia-process) str))))
+          (sm/comint-echo-and-send (sm/julia-process) str))))
 
   (defun sm/julia-end-of-defun ()
     "Move point to the end of the current function.


\\{sm/julia-mode-map}"
    (set (make-local-variable 'comint-prompt-read-only) t)
    (set (make-local-variable 'comint-input-sender) 'sm/comint-print-and-send)

    ;; The default value of `electric-pair-default-skip-self' doesn't seem to
    ;; work well with this derived comint. I end up with an extra closing

      ;; Keep default directory in sync with where the repl points.
      (with-current-buffer (process-buffer (sm/julia-process))
        (cd dir))
      (sm/comint-echo-and-send (sm/julia-process) str)))

  (defun sm/julia-run ()
    "Open a julia buffer."
