[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 4bc9fe33af: Rename 'elisp-eval-buffer' to 'elisp-eval-region-

From: Juri Linkov
Subject: Re: master 4bc9fe33af: Rename 'elisp-eval-buffer' to 'elisp-eval-region-or-buffer' (bug#59350)
Date: Sun, 20 Nov 2022 21:04:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>>     * lisp/progmodes/elisp-mode.el (elisp-eval-region-or-buffer):
>>     Rename recently added command 'elisp-eval-buffer' to support active 
>> region.
>>     (emacs-lisp-mode-map, lisp-interaction-mode-map): Rebind 'C-c C-e'
>>     from elisp-eval-buffer to elisp-eval-region-or-buffer.
> Could we make it do the `eval-sexp-add-defvars` dance when evaluating a 
> region?

Not sure how to do this on the region that might contain several expressions.
Currently it's used only on a single expression in elisp--eval-last-sexp
and elisp--eval-defun.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]