diff options
| author | Stefan Monnier | 2012-09-11 20:14:50 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-09-11 20:14:50 -0400 |
| commit | 45b82ad0ebedaa1b7094912e218bea1510c33feb (patch) | |
| tree | 278e50931ea92f8f3201fcb855d454f2202b2f66 /etc | |
| parent | 50f2e553ce21a2901e9f935650018289c11fcc39 (diff) | |
| download | emacs-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/NEWS | 14 |
1 files changed, 9 insertions, 5 deletions
| @@ -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 | ||
| 682 | message is displayed in the echo area. This can be useful when trying | ||
| 683 | to work out which code is doing something. | ||
| 684 | |||
| 685 | *** New var `inhibit-debugger', automatically set to prevent accidental | ||
| 686 | recursive 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. |
| 1978 | This can be useful when `inhibit-quit' is set. | 1986 | This can be useful when `inhibit-quit' is set. |
| 1979 | 1987 | ||
| 1980 | *** Set `debug-on-message' to enter the debugger when a certain | ||
| 1981 | message is displayed in the echo area. This can be useful when trying | ||
| 1982 | to 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 |
| 1985 | named Emacs server instances. | 1989 | named Emacs server instances. |
| 1986 | 1990 | ||