summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-06-04 18:01:53 +0000
committerRichard M. Stallman <rms@gnu.org>1993-06-04 18:01:53 +0000
commit69f19f89f7b6f110c333c233f598c5d59468b812 (patch)
tree62fa1d7114c8608284652c4d9d9093ee5ba7eeea
parenta038aafc44c4732b4c6dee60ee44e78515496b6c (diff)
downloademacs-69f19f89f7b6f110c333c233f598c5d59468b812.tar.gz
(Fnewline): Use Fbarf_if_buffer_read_only.
-rw-r--r--src/cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 1025c9c0d2c..f0dbf72cfcd 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -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