summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indent.c1
-rw-r--r--src/xdisp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/indent.c b/src/indent.c
index de6b4895616..914dabf1e72 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -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)
{
diff --git a/src/xdisp.c b/src/xdisp.c
index d9650211427..259d057adb1 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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));