diff src/buffer.c @ 2214:e5928bec8d5d

* 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.
author Jim Blandy <jimb@redhat.com>
date Tue, 16 Mar 1993 18:18:05 +0000
parents 7eea4dfc5133
children f650efceb0fb
line wrap: on
line diff
--- a/src/buffer.c	Tue Mar 16 15:47:45 1993 +0000
+++ b/src/buffer.c	Tue Mar 16 18:18:05 1993 +0000
@@ -1610,6 +1610,10 @@
 
   DEFVAR_PER_BUFFER ("overwrite-mode", &current_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", &current_buffer->display_table,