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 /src/eval.c | |
| 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 'src/eval.c')
| -rw-r--r-- | src/eval.c | 2 |
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 | ||
| 194 | static Lisp_Object | 194 | Lisp_Object |
| 195 | call_debugger (Lisp_Object arg) | 195 | call_debugger (Lisp_Object arg) |
| 196 | { | 196 | { |
| 197 | bool debug_while_redisplaying; | 197 | bool debug_while_redisplaying; |