summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-07-02 16:09:46 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-07-02 23:02:28 -0700
commit52d0d4feac856773c5601b40c2996468fd3374bb (patch)
tree4b01802bbd019bcced6f161e41016f3825722389 /lisp/emacs-lisp/byte-run.el
parent20c1406cd04038c4b2d50c9eb0742e21c8e14984 (diff)
downloademacs-52d0d4feac856773c5601b40c2996468fd3374bb.tar.gz
Replace TRACE with redisplay_trace, etc.
This simplifies callers and catches trace printf format errors even with typical (non-debugging) compiles. * src/dispextern.h (TRACE) [GLYPH_DEBUG]: Move definitions to xdisp.c if it’s used only there. * src/xdisp.c (redisplay_trace): New function, replacing TRACE macro. (move_trace): New function, replacing TRACE_MOVE macro. All uses changed. (dump_glyph): When tracing, don’t use %d to format ptrdiff_t, or %x to format a pointer. (expose_frame): Redo trace printfs to avoid interleaved output on GNU/Linux.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions