diff options
| author | Richard M. Stallman | 1993-06-04 18:01:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-06-04 18:01:53 +0000 |
| commit | 69f19f89f7b6f110c333c233f598c5d59468b812 (patch) | |
| tree | 62fa1d7114c8608284652c4d9d9093ee5ba7eeea /src | |
| parent | a038aafc44c4732b4c6dee60ee44e78515496b6c (diff) | |
| download | emacs-69f19f89f7b6f110c333c233f598c5d59468b812.tar.gz emacs-69f19f89f7b6f110c333c233f598c5d59468b812.zip | |
(Fnewline): Use Fbarf_if_buffer_read_only.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmds.c | 2 |
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.") | |||
| 241 | arg = Fprefix_numeric_value (arg1); | 241 | arg = Fprefix_numeric_value (arg1); |
| 242 | 242 | ||
| 243 | if (!NILP (current_buffer->read_only)) | 243 | if (!NILP (current_buffer->read_only)) |
| 244 | Fsignal (Qbuffer_read_only, Qnil); | 244 | Fbarf_if_buffer_read_only (); |
| 245 | 245 | ||
| 246 | /* Inserting a newline at the end of a line produces better | 246 | /* Inserting a newline at the end of a line produces better |
| 247 | redisplay in try_window_id than inserting at the ebginning fo a | 247 | redisplay in try_window_id than inserting at the ebginning fo a |