summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-09-23 02:13:26 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-09-23 02:13:26 +0200
commit4eac64fcf21fc54d562d9ac5903ed241c747372b (patch)
tree937e4c5bd6d13b89cdc2af0accf00603b83030ca
parentff7560b6ffba3d8602debd9a2a5c47509a67d4be (diff)
downloademacs-4eac64fcf21fc54d562d9ac5903ed241c747372b.tar.gz
Clarify `debug' doc string
* lisp/emacs-lisp/debug.el (debug): Mention that inhibit-redisplay will inhibit the function.
-rw-r--r--lisp/emacs-lisp/debug.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 8989aa07196..21499f75790 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -163,7 +163,10 @@ of the evaluator.
You may call with no args, or you may pass nil as the first arg and
any other args you like. In that case, the list of args after the
-first will be printed into the backtrace buffer."
+first will be printed into the backtrace buffer.
+
+If `inhibit-redisplay' is non-nil when this function is called,
+the debugger will not be entered."
(interactive)
(cond
(inhibit-redisplay