aboutsummaryrefslogtreecommitdiffstats
path: root/src/textconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textconv.c')
-rw-r--r--src/textconv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textconv.c b/src/textconv.c
index 1530cc0ce32..a2c790d5374 100644
--- a/src/textconv.c
+++ b/src/textconv.c
@@ -1022,7 +1022,8 @@ really_set_point_and_mark (struct frame *f, ptrdiff_t point,
1022 /* Set the point. */ 1022 /* Set the point. */
1023 Fgoto_char (make_fixnum (point)); 1023 Fgoto_char (make_fixnum (point));
1024 1024
1025 if (mark == point && BVAR (current_buffer, mark_active)) 1025 if (mark == point
1026 && !NILP (BVAR (current_buffer, mark_active)))
1026 call0 (Qdeactivate_mark); 1027 call0 (Qdeactivate_mark);
1027 else 1028 else
1028 call1 (Qpush_mark, make_fixnum (mark)); 1029 call1 (Qpush_mark, make_fixnum (mark));