Mercurial > emacs
diff src/cmds.c @ 3480:9784ebc37245
(Fnewline): Use Fbarf_if_buffer_read_only.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 04 Jun 1993 18:01:53 +0000 |
| parents | 28a9541901d7 |
| children | 507f64624555 |
line wrap: on
line diff
--- 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
