# HG changeset patch # User Richard M. Stallman # Date 739216913 0 # Node ID 9784ebc372457632deb730ccb22cedd3a4157d84 # Parent 7cda082508c9c602ebc238161238da205e7bf8a9 (Fnewline): Use Fbarf_if_buffer_read_only. diff -r 7cda082508c9 -r 9784ebc37245 src/cmds.c --- a/src/cmds.c Fri Jun 04 17:10:07 1993 +0000 +++ b/src/cmds.c Fri Jun 04 18:01:53 1993 +0000 @@ -241,7 +241,7 @@ 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