aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 339175d9078..ce4b44c87c3 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2409,7 +2409,7 @@ DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text,
2409 live window points to that window's buffer. So since we 2409 live window points to that window's buffer. So since we
2410 just swapped the markers between the two buffers, we need 2410 just swapped the markers between the two buffers, we need
2411 to undo the effect of this swap for window markers. */ 2411 to undo the effect of this swap for window markers. */
2412 Lisp_Object w = Fselected_window (), ws = Qnil; 2412 Lisp_Object w = selected_window, ws = Qnil;
2413 Lisp_Object buf1, buf2; 2413 Lisp_Object buf1, buf2;
2414 XSETBUFFER (buf1, current_buffer); XSETBUFFER (buf2, other_buffer); 2414 XSETBUFFER (buf1, current_buffer); XSETBUFFER (buf2, other_buffer);
2415 2415