Q: Why does lisp-interaction-mode exist, and are there any reasons to use it instead of emacs-lisp-mode?
The manual states that emacs-lisp-mode and lisp-interaction-mode are identical except that the latter binds C-j to eval-print-last-sexp. Beyond that, "all other commands in Lisp Interaction mode are the same as in Emacs Lisp mode." As far as I can tell, only the *scratch* buffer uses the latter mode.
It strikes me as odd that there is an entire mode that differs from another by only a single keybinding, so I presume I'm missing either some history or context.
So:
- Why does
lisp-interaction-modeexist? - Not counting the
C-jkeybinding, are there any circumstances in which it would be preferable toemacs-lisp-mode? - Would there be any unexpected consequences to changing the
*scratch*buffer's mode toemacs-lisp-mode?
The motivation for this question is that, right now, I'm binding keys twice (in the two modes) so that my *scratch* buffer behaves like buffers visiting *.el files. If there's no practical reason to keep lisp-interaction-mode around, I'll just (setq initial-major-mode 'emacs-lisp-mode) and be done with it.
*scratch*.