emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c6ed17c: * src/buffer.c (Fbuffer_swap_text): Swap `mark-active` a


From: Stefan Monnier
Subject: master c6ed17c: * src/buffer.c (Fbuffer_swap_text): Swap `mark-active` as well
Date: Tue, 9 Mar 2021 13:04:19 -0500 (EST)

branch: master
commit c6ed17cc70ee49250f7d3999bb56918f0e925757
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * 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.
---
 src/buffer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/buffer.c b/src/buffer.c
index 03c10cc..8e33162 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]