aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2012-09-11 20:14:50 -0400
committerStefan Monnier2012-09-11 20:14:50 -0400
commit45b82ad0ebedaa1b7094912e218bea1510c33feb (patch)
tree278e50931ea92f8f3201fcb855d454f2202b2f66 /etc
parent50f2e553ce21a2901e9f935650018289c11fcc39 (diff)
downloademacs-45b82ad0ebedaa1b7094912e218bea1510c33feb.tar.gz
emacs-45b82ad0ebedaa1b7094912e218bea1510c33feb.zip
* src/eval.c: Add `inhibit-debugger'.
(Qinhibit_debugger): New symbol. (call_debugger): Bind it instead of Qdebug_on_error. (maybe_call_debugger): Test Vinhibit_debugger. (syms_of_eval): Define inhibit-debugger. * src/xdisp.c (set_message): Don't bind Qinhibit_debug_on_message. (syms_of_xdisp): Remove inhibit-debug-on-message. * lisp/emacs-lisp/debug.el (debug): Don't bind debug-on-error since inhibit-debugger is bound instead.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS14
1 files changed, 9 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index af4bcf11dbb..e095ca795e4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -675,7 +675,15 @@ The interpretation of the DECLS is determined by `defun-declarations-alist'.
675 675
676** New error type and new function `user-error'. Doesn't trigger the debugger. 676** New error type and new function `user-error'. Doesn't trigger the debugger.
677 677
678** New option `debugger-bury-or-kill'. 678** Debugger
679*** New option `debugger-bury-or-kill'.
680
681*** Set `debug-on-message' to enter the debugger when a certain
682message is displayed in the echo area. This can be useful when trying
683to work out which code is doing something.
684
685*** New var `inhibit-debugger', automatically set to prevent accidental
686recursive invocations.
679 687
680+++ 688+++
681** New utility function `buffer-narrowed-p'. 689** New utility function `buffer-narrowed-p'.
@@ -1977,10 +1985,6 @@ instead of jumping all the way to the top-level.
1977*** Set `debug-on-event' to enter the debugger on events like SIGUSR1. 1985*** Set `debug-on-event' to enter the debugger on events like SIGUSR1.
1978This can be useful when `inhibit-quit' is set. 1986This can be useful when `inhibit-quit' is set.
1979 1987
1980*** Set `debug-on-message' to enter the debugger when a certain
1981message is displayed in the echo area. This can be useful when trying
1982to work out which code is doing something.
1983
1984** The new function `server-eval-at' allows evaluation of Lisp forms on 1988** The new function `server-eval-at' allows evaluation of Lisp forms on
1985named Emacs server instances. 1989named Emacs server instances.
1986 1990