aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1994-02-23 23:17:34 +0000
committerRichard M. Stallman1994-02-23 23:17:34 +0000
commit2512acba30ff6f87e3c1b7602c71d340acf61498 (patch)
treec0664e9e7095ed6b0912d67882ea1cc47942b562 /lisp
parent165c67142ad9408b8f3ada88068532378fe37d10 (diff)
downloademacs-2512acba30ff6f87e3c1b7602c71d340acf61498.tar.gz
emacs-2512acba30ff6f87e3c1b7602c71d340acf61498.zip
(debug, debug-on-entry): Doc strings.
Diffstat (limited to 'lisp')
-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 @@
47(setq debugger 'debug) 47(setq debugger 'debug)
48;;;###autoload 48;;;###autoload
49(defun debug (&rest debugger-args) 49(defun debug (&rest debugger-args)
50 "Enter debugger. Returns if user says \"continue\". 50 "Enter debugger. To return, type \\<debugger-mode-map>`\\[debugger-continue]'.
51Arguments are mainly for use when this is called from the internals 51Arguments are mainly for use when this is called from the internals
52of the evaluator. 52of the evaluator.
53 53
@@ -344,11 +344,11 @@ Complete list of commands:
344;;;###autoload 344;;;###autoload
345(defun debug-on-entry (function) 345(defun debug-on-entry (function)
346 "Request FUNCTION to invoke debugger each time it is called. 346 "Request FUNCTION to invoke debugger each time it is called.
347If the user continues, FUNCTION's execution proceeds. 347If you tell the debugger to continue, FUNCTION's execution proceeds.
348Works by modifying the definition of FUNCTION, 348This works by modifying the definition of FUNCTION,
349which must be written in Lisp, not predefined. 349which must be written in Lisp, not predefined.
350Use \\[cancel-debug-on-entry] to cancel the effect of this command. 350Use \\[cancel-debug-on-entry] to cancel the effect of this command.
351Redefining FUNCTION also does that." 351Redefining FUNCTION also cancels it."
352 (interactive "aDebug on entry (to function): ") 352 (interactive "aDebug on entry (to function): ")
353 (debugger-reenable) 353 (debugger-reenable)
354 (if (subrp (symbol-function function)) 354 (if (subrp (symbol-function function))