lisp-interaction-mode

lisp-interaction-mode is an interactive compiled Lisp function in `elisp-mode.el'.


(lisp-interaction-mode)

Parent mode: `emacs-lisp-mode'.

Major mode for typing and evaluating Lisp forms.
Like Lisp mode except that M-x eval-print-last-sexp evals the Lisp expression
before point, and prints its value into the buffer, advancing point.
Note that printing is controlled by `eval-expression-print-length'
and `eval-expression-print-level'.

Commands:
Delete converts tabs to spaces as it moves back.
Paragraphs are separated only by blank lines.
Semicolons start comments.

key binding
--- -------

C-j eval-print-last-sexp
ESC Prefix Command
DEL backward-delete-char-untabify

C-M-i completion-at-point
C-M-q indent-pp-sexp
C-M-x eval-defun

C-M-q indent-sexp
(that binding is currently shadowed by another mode)

C-M-q prog-indent-sexp
(that binding is currently shadowed by another mode)



In addition to any hooks its parent mode `emacs-lisp-mode' might have run,
this mode runs the hook `lisp-interaction-mode-hook', as the final step
during initialization.