aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2012-09-04 23:21:00 +0200
committerLars Ingebrigtsen2012-09-04 23:21:00 +0200
commit7f7e0167cf664f2d66ac3fa8a7301e05f09883d2 (patch)
treeef9d2dade54e23c6c37e6bd655aae118cdbde261 /etc
parentcf29dd84d205e1c78fed5d1ea0006a382658598c (diff)
downloademacs-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 9a38deef05c..e137ebc0665 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
1917This can be useful when `inhibit-quit' is set. 1917This can be useful when `inhibit-quit' is set.
1918 1918
1919*** Set `debug-on-message' to enter the debugger when a certain
1920message is displayed in the echo area. This can be useful when trying
1921to 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
1920named Emacs server instances. 1924named Emacs server instances.
1921 1925