emacs - evaluating expressions
Table of Contents
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.
-
Type the function in the current buffer and evaluate (Ctrl x Ctrl e) it. e.g.
(point)
(buffer-name)
(buffer-file-name)
-
By using Meta x eval-expression RET (buffer-name) RET
https://www.gnu.org/software/emacs/manual/html_node/eintr/Practicing-Evaluation.html