Questions tagged [interactive-development]
8 questions
27
votes
5 answers
How do I force re-evaluation of a defvar?
Suppose I have an Emacs lisp buffer that contains:
(defvar foo 1)
If I call eval-last-sexp or eval-buffer, foo is bound to 1. If I then edit this buffer to:
(defvar foo 2)
eval-last-sexp and eval-buffer do not re-execute this line, so foo is still…

Wilfred Hughes
- 6,920
- 2
- 31
- 60