From 6bbb0d4aaa68a2976cf3883fff8068c57f7a6bfa Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 16 Mar 1993 18:18:05 +0000 Subject: * 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. --- src/buffer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buffer.c') 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."); DEFVAR_PER_BUFFER ("overwrite-mode", ¤t_buffer->overwrite_mode, Qnil, "Non-nil if self-insertion should replace existing text.\n\ +If non-nil and not `overwrite-mode-binary', self-insertion still\n\ +inserts at the end of a line, and inserts when point is before a tab,\n\ +unless that tab is displaying as only one space.\n\ +If `overwrite-mode-binary', self-insertion replaces newlines and tabs too.\n\ Automatically becomes buffer-local when set in any fashion."); DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, -- cgit v1.2.1