emacs - evaluating expressions

Evaluating expressions in emacs

https://www.gnu.org/software/emacs/manual/html_node/emacs/Lisp-Eval.html

There are many ways to evaluate expressions in emacs.

  1. Type the function in the current buffer and evaluate (Ctrl x Ctrl e) it. e.g. (point) (buffer-name) (buffer-file-name)

  2. By using Meta x eval-expression RET (buffer-name) RET

    https://www.gnu.org/software/emacs/manual/html_node/eintr/Practicing-Evaluation.html


Links to this note