Search code examples
emacs

Is it possible to evaluate entire buffer in Emacs?


Currently, in order to evaluate elist in Emacs, I need to position the cursor on the last parenthesis and emit C-x e.

Is it possible to evaluate the entire buffer as a single elisp program without a need to position cursor?


Solution

  • M-x eval-buffer
    

    or Alt+x and then type 'eval-buffer' or just type part of it and tab to autocomplete.