src/indent.c, src/xdisp.c: Questions about with_echo_area_buffer_unwind_data
This commit is contained in:
parent
c3ac8285d4
commit
0601afcf7c
2 changed files with 2 additions and 0 deletions
|
@ -2051,6 +2051,7 @@ window_column_x (struct window *w, Lisp_Object window,
|
|||
|
||||
/* Restore window's buffer and point. */
|
||||
|
||||
/* FIXME: Merge with `with_echo_area_buffer_unwind_data`? */
|
||||
static void
|
||||
restore_window_buffer (Lisp_Object list)
|
||||
{
|
||||
|
|
|
@ -10937,6 +10937,7 @@ WINDOW. */)
|
|||
|
||||
/* The unwind form of with_echo_area_buffer is what we need here to
|
||||
make WINDOW temporarily show our buffer. */
|
||||
/* FIXME: Can we move this into the `if (!EQ (buffer, w->contents))`? */
|
||||
record_unwind_protect (unwind_with_echo_area_buffer,
|
||||
with_echo_area_buffer_unwind_data (w));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue