Skip to content

Instantly share code, notes, and snippets.

@xh4
Created February 13, 2015 12:02
Show Gist options
  • Select an option

  • Save xh4/cdc4c35897aa210667b0 to your computer and use it in GitHub Desktop.

Select an option

Save xh4/cdc4c35897aa210667b0 to your computer and use it in GitHub Desktop.
(defun cider-beautify-buffer-ns (ns-string)
"=")
(defun cider-repl-emit-prompt (buffer)
"Emit the REPL prompt into BUFFER."
(with-current-buffer buffer
(save-excursion
(cider-save-marker cider-repl-output-start
(cider-save-marker cider-repl-output-end
(cider-repl--insert-prompt (cider-beautify-buffer-ns cider-buffer-ns)))))
(cider-repl--show-maximum-output)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment