summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-02-23 23:17:34 +0000
committerRichard M. Stallman <rms@gnu.org>1994-02-23 23:17:34 +0000
commit2512acba30ff6f87e3c1b7602c71d340acf61498 (patch)
treec0664e9e7095ed6b0912d67882ea1cc47942b562 /lisp/emacs-lisp/debug.el
parent165c67142ad9408b8f3ada88068532378fe37d10 (diff)
downloademacs-2512acba30ff6f87e3c1b7602c71d340acf61498.tar.gz
emacs-2512acba30ff6f87e3c1b7602c71d340acf61498.tar.bz2
emacs-2512acba30ff6f87e3c1b7602c71d340acf61498.zip
(debug, debug-on-entry): Doc strings.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
-rw-r--r--lisp/emacs-lisp/debug.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 49c9646a88a..1c44bac3405 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -47,7 +47,7 @@
(setq debugger 'debug)
;;;###autoload
(defun debug (&rest debugger-args)
- "Enter debugger. Returns if user says \"continue\".
+ "Enter debugger. To return, type \\<debugger-mode-map>`\\[debugger-continue]'.
Arguments are mainly for use when this is called from the internals
of the evaluator.
@@ -344,11 +344,11 @@ Complete list of commands:
;;;###autoload
(defun debug-on-entry (function)
"Request FUNCTION to invoke debugger each time it is called.
-If the user continues, FUNCTION's execution proceeds.
-Works by modifying the definition of FUNCTION,
+If you tell the debugger to continue, FUNCTION's execution proceeds.
+This works by modifying the definition of FUNCTION,
which must be written in Lisp, not predefined.
Use \\[cancel-debug-on-entry] to cancel the effect of this command.
-Redefining FUNCTION also does that."
+Redefining FUNCTION also cancels it."
(interactive "aDebug on entry (to function): ")
(debugger-reenable)
(if (subrp (symbol-function function))