aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/callint.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/callint.c b/src/callint.c
index 1ffd839bcb3..f7590e4164a 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -145,8 +145,9 @@ check_mark ()
145 Lisp_Object tem = Fmarker_buffer (current_buffer->mark); 145 Lisp_Object tem = Fmarker_buffer (current_buffer->mark);
146 if (NILP (tem) || (XBUFFER (tem) != current_buffer)) 146 if (NILP (tem) || (XBUFFER (tem) != current_buffer))
147 error ("The mark is not set now"); 147 error ("The mark is not set now");
148 if (NILP (current_buffer->mark_active) && NILP (Vmark_even_if_inactive)) 148 if (!NILP (Vtransient_mark_mode) && NILP (Vmark_even_if_inactive)
149 error ("The mark is not active now"); 149 && NILP (current_buffer->mark_active))
150 Fsignal (Qmark_inactive, Qnil);
150} 151}
151 152
152 153