* src/buffer.c (Fbuffer_swap_text): Swap mark-active as well

This avoids undesirable situations where `mark-active` is set even
though the `mark` isn't.
This commit is contained in:
Stefan Monnier 2021-03-09 13:04:14 -05:00
parent 29458ec7d2
commit c6ed17cc70

View file

@ -2419,6 +2419,7 @@ results, see Info node `(elisp)Swapping Text'. */)
swapfield (overlay_center, ptrdiff_t);
swapfield_ (undo_list, Lisp_Object);
swapfield_ (mark, Lisp_Object);
swapfield_ (mark_active, Lisp_Object); /* Belongs with the `mark'. */
swapfield_ (enable_multibyte_characters, Lisp_Object);
swapfield_ (bidi_display_reordering, Lisp_Object);
swapfield_ (bidi_paragraph_direction, Lisp_Object);