Commit 7b5ad687 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(region_limit): Nicer error message.

parent b1887814
...@@ -293,7 +293,7 @@ region_limit (beginningp) ...@@ -293,7 +293,7 @@ region_limit (beginningp)
m = Fmarker_position (current_buffer->mark); m = Fmarker_position (current_buffer->mark);
if (NILP (m)) if (NILP (m))
error ("There is no region now"); error ("The mark is not set now, so there is no region");
if ((PT < XFASTINT (m)) == beginningp) if ((PT < XFASTINT (m)) == beginningp)
m = make_number (PT); m = make_number (PT);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment