Skip to content

Instantly share code, notes, and snippets.

@Frozenlock
Created June 16, 2012 15:57
Show Gist options
  • Save Frozenlock/2941764 to your computer and use it in GitHub Desktop.
Save Frozenlock/2941764 to your computer and use it in GitHub Desktop.
Insert a string in the last return value in ielm
(defun insert-in-last-ielm-eval (string)
(when (search-backward "ELISP>" nil t)
(backward-char 1)
(newline)
(insert string)
(goto-char (point-max))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment