Created
June 16, 2012 15:57
-
-
Save Frozenlock/2941764 to your computer and use it in GitHub Desktop.
Insert a string in the last return value in ielm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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