Implement `debug-on-message'.
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 4 Sep 2012 21:21:00 +0000 (23:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 4 Sep 2012 21:21:00 +0000 (23:21 +0200)
commit7f7e0167cf664f2d66ac3fa8a7301e05f09883d2
treeef9d2dade54e23c6c37e6bd655aae118cdbde261
parentcf29dd84d205e1c78fed5d1ea0006a382658598c
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'.
doc/lispref/ChangeLog
doc/lispref/debugging.texi
etc/NEWS
src/ChangeLog
src/eval.c
src/lisp.h
src/xdisp.c