diff options
| author | Jim Blandy | 1993-03-16 18:18:05 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-03-16 18:18:05 +0000 |
| commit | 6bbb0d4aaa68a2976cf3883fff8068c57f7a6bfa (patch) | |
| tree | 057fe5c5fdf095d8dc791f54ec793e60942149be /src/buffer.c | |
| parent | 80169ab5392d1bd5df9f6147bbb47e0edcba43fa (diff) | |
| download | emacs-6bbb0d4aaa68a2976cf3883fff8068c57f7a6bfa.tar.gz emacs-6bbb0d4aaa68a2976cf3883fff8068c57f7a6bfa.zip | |
* cmds.c (overwrite_binary_mode): Deleted; this implements the
wrong feature.
(Qoverwrite_mode_binary): New variable.
(internal_self_insert): If current_buffer->overwrite_mode is
`overwrite-mode-binary', do as overwrite_binary_mode used to.
(syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
Qoverwrite_mode_binary.
* buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
* buffer.h (struct buffer): Doc fix.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index e254db179c7..aec489eab56 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1610,6 +1610,10 @@ Automatically becomes buffer-local when set in any fashion."); | |||
| 1610 | 1610 | ||
| 1611 | DEFVAR_PER_BUFFER ("overwrite-mode", ¤t_buffer->overwrite_mode, Qnil, | 1611 | DEFVAR_PER_BUFFER ("overwrite-mode", ¤t_buffer->overwrite_mode, Qnil, |
| 1612 | "Non-nil if self-insertion should replace existing text.\n\ | 1612 | "Non-nil if self-insertion should replace existing text.\n\ |
| 1613 | If non-nil and not `overwrite-mode-binary', self-insertion still\n\ | ||
| 1614 | inserts at the end of a line, and inserts when point is before a tab,\n\ | ||
| 1615 | unless that tab is displaying as only one space.\n\ | ||
| 1616 | If `overwrite-mode-binary', self-insertion replaces newlines and tabs too.\n\ | ||
| 1613 | Automatically becomes buffer-local when set in any fashion."); | 1617 | Automatically becomes buffer-local when set in any fashion."); |
| 1614 | 1618 | ||
| 1615 | DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, | 1619 | DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, |