Q: Why does
lisp-interaction-mode exist, and are there any reasons to use it instead of
The manual states that
lisp-interaction-mode are identical except that the latter binds
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.
- Why does
- Not counting the
C-jkeybinding, are there any circumstances in which it would be preferable to
- Would there be any unexpected consequences to changing the
*scratch*buffer's mode to
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.