Commit 69f19f89 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fnewline): Use Fbarf_if_buffer_read_only.

parent a038aafc
......@@ -241,7 +241,7 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.")
arg = Fprefix_numeric_value (arg1);
if (!NILP (current_buffer->read_only))
Fsignal (Qbuffer_read_only, Qnil);
Fbarf_if_buffer_read_only ();
/* Inserting a newline at the end of a line produces better
redisplay in try_window_id than inserting at the ebginning fo a
......
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