diff options
author | Gregory Heytings <gregory@heytings.org> | 2022-12-26 01:21:16 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2022-12-26 02:26:47 +0100 |
commit | 6c00d126e7fe1f6e42a0c9454c2ab4a29dcd5989 (patch) | |
tree | 497697c2a053cf98e68ddb74c42de8b53da6bfcc | |
parent | 1073e96170b7362ecb74fb0997e2ec4b5e34c010 (diff) | |
download | emacs-6c00d126e7fe1f6e42a0c9454c2ab4a29dcd5989.tar.gz |
Remove remaining mentions of 'eval-current-buffer'
* lisp/emacs-lisp/edebug.el (edebug-all-defs):
* doc/lispref/eval.texi (Eval):
* doc/lispref/edebug.texi (Instrumenting, Edebug Options):
Remove remaining mentions of 'eval-current-buffer', obsoleted in
Emacs 22 and removed in Emacs 26.
-rw-r--r-- | doc/lispref/edebug.texi | 23 | ||||
-rw-r--r-- | doc/lispref/eval.texi | 3 | ||||
-rw-r--r-- | lisp/emacs-lisp/edebug.el | 6 |
3 files changed, 14 insertions, 18 deletions
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi index 1562a378421..93bafce1f38 100644 --- a/doc/lispref/edebug.texi +++ b/doc/lispref/edebug.texi @@ -171,14 +171,13 @@ of the variable @code{edebug-all-defs}. @findex eval-region @r{(Edebug)} @findex eval-buffer @r{(Edebug)} -@findex eval-current-buffer @r{(Edebug)} If @code{edebug-all-defs} is non-@code{nil}, then the commands -@code{eval-region}, @code{eval-current-buffer}, and @code{eval-buffer} -also instrument any definitions they evaluate. Similarly, -@code{edebug-all-forms} controls whether @code{eval-region} should -instrument @emph{any} form, even non-defining forms. This doesn't apply -to loading or evaluations in the minibuffer. The command @kbd{M-x -edebug-all-forms} toggles this option. +@code{eval-region}, and @code{eval-buffer} also instrument any +definitions they evaluate. Similarly, @code{edebug-all-forms} +controls whether @code{eval-region} should instrument @emph{any} form, +even non-defining forms. This doesn't apply to loading or evaluations +in the minibuffer. The command @kbd{M-x edebug-all-forms} toggles +this option. @findex edebug-eval-top-level-form @findex edebug-defun @@ -1635,8 +1634,8 @@ but only when you also use Edebug. @defopt edebug-all-defs If this is non-@code{nil}, normal evaluation of defining forms such as @code{defun} and @code{defmacro} instruments them for Edebug. This -applies to @code{eval-defun}, @code{eval-region}, @code{eval-buffer}, -and @code{eval-current-buffer}. +applies to @code{eval-defun}, @code{eval-region} and +@code{eval-buffer}. Use the command @kbd{M-x edebug-all-defs} to toggle the value of this option. @xref{Instrumenting}. @@ -1644,9 +1643,9 @@ option. @xref{Instrumenting}. @defopt edebug-all-forms If this is non-@code{nil}, the commands @code{eval-defun}, -@code{eval-region}, @code{eval-buffer}, and @code{eval-current-buffer} -instrument all forms, even those that don't define anything. -This doesn't apply to loading or evaluations in the minibuffer. +@code{eval-region} and @code{eval-buffer} instrument all forms, even +those that don't define anything. This doesn't apply to loading or +evaluations in the minibuffer. Use the command @kbd{M-x edebug-all-forms} to toggle the value of this option. @xref{Instrumenting}. diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi index 11c321b32ed..159e440a989 100644 --- a/doc/lispref/eval.texi +++ b/doc/lispref/eval.texi @@ -819,9 +819,6 @@ output of the output functions is printed in the echo area. (@pxref{Unloading}), and defaults to @code{buffer-file-name} (@pxref{Buffer File Name}). If @var{unibyte} is non-@code{nil}, @code{read} converts strings to unibyte whenever possible. - -@findex eval-current-buffer -@code{eval-current-buffer} is an alias for this command. @end deffn @defopt max-lisp-eval-depth diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 67704bdb51c..9e792889c89 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -92,9 +92,9 @@ using, but only when you also use Edebug." ;;;###autoload (defcustom edebug-all-defs nil "If non-nil, evaluating defining forms instruments for Edebug. -This applies to `eval-defun', `eval-region', `eval-buffer', and -`eval-current-buffer'. `eval-region' is also called by -`eval-last-sexp', and `eval-print-last-sexp'. +This applies to `eval-defun', `eval-region' and `eval-buffer'. +`eval-region' is also called by `eval-last-sexp', and +`eval-print-last-sexp'. You can use the command `edebug-all-defs' to toggle the value of this variable. You may wish to make it local to each buffer with |