aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2012-09-04 23:21:00 +0200
committerLars Ingebrigtsen2012-09-04 23:21:00 +0200
commit7f7e0167cf664f2d66ac3fa8a7301e05f09883d2 (patch)
treeef9d2dade54e23c6c37e6bd655aae118cdbde261 /src/eval.c
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 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 1015b013a26..4f0d6c69a51 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -191,7 +191,7 @@ restore_stack_limits (Lisp_Object data)
191 191
192/* Call the Lisp debugger, giving it argument ARG. */ 192/* Call the Lisp debugger, giving it argument ARG. */
193 193
194static Lisp_Object 194Lisp_Object
195call_debugger (Lisp_Object arg) 195call_debugger (Lisp_Object arg)
196{ 196{
197 bool debug_while_redisplaying; 197 bool debug_while_redisplaying;