diff options
| author | Lars Ingebrigtsen | 2012-09-04 23:21:00 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2012-09-04 23:21:00 +0200 |
| commit | 7f7e0167cf664f2d66ac3fa8a7301e05f09883d2 (patch) | |
| tree | ef9d2dade54e23c6c37e6bd655aae118cdbde261 /etc | |
| parent | cf29dd84d205e1c78fed5d1ea0006a382658598c (diff) | |
| download | emacs-7f7e0167cf664f2d66ac3fa8a7301e05f09883d2.tar.gz emacs-7f7e0167cf664f2d66ac3fa8a7301e05f09883d2.zip | |
Implement `debug-on-message'.
This allows tracking down what piece of code is outputting stuff in
the echo area.
* eval.c (call_debugger): Make the function non-static so that we
can call it from set_message.
* xdisp.c (set_message): Implement the new variable `debug-on-message'.
(syms_of_xdisp): Defvar it and `inhibit-debug-on-message'.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -1916,6 +1916,10 @@ instead of jumping all the way to the top-level. | |||
| 1916 | *** Set `debug-on-event' to enter the debugger on events like SIGUSR1. | 1916 | *** Set `debug-on-event' to enter the debugger on events like SIGUSR1. |
| 1917 | This can be useful when `inhibit-quit' is set. | 1917 | This can be useful when `inhibit-quit' is set. |
| 1918 | 1918 | ||
| 1919 | *** Set `debug-on-message' to enter the debugger when a certain | ||
| 1920 | message is displayed in the echo area. This can be useful when trying | ||
| 1921 | to work out which code is doing something. | ||
| 1922 | |||
| 1919 | ** The new function `server-eval-at' allows evaluation of Lisp forms on | 1923 | ** The new function `server-eval-at' allows evaluation of Lisp forms on |
| 1920 | named Emacs server instances. | 1924 | named Emacs server instances. |
| 1921 | 1925 | ||