mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Improve the eval-defun doc string
* lisp/progmodes/elisp-mode.el (eval-defun): Document what the command actually does w.r.t. finding a form to evaluate (bug#47747).
This commit is contained in:
parent
446d5b14a9
commit
4d41bb7847
1 changed files with 4 additions and 1 deletions
|
|
@ -1679,7 +1679,10 @@ Return the result of evaluation."
|
|||
elisp--eval-defun-result))
|
||||
|
||||
(defun eval-defun (edebug-it)
|
||||
"Evaluate the top-level form containing point, or after point.
|
||||
"Evaluate the top-level form containing point.
|
||||
If point isn't in a top-level form, evaluate the first top-level
|
||||
form after point. If there is no top-level form after point,
|
||||
eval the first preceeding top-level form.
|
||||
|
||||
If the current defun is actually a call to `defvar' or `defcustom',
|
||||
evaluating it this way resets the variable using its initial value
|
||||
|
|
|
|||
Loading…
Reference in a new issue