changeset 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 7cda082508c9
children 56424e6245c2
files src/cmds.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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