comparison 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
comparison
equal deleted inserted replaced
2213:9ff513b5d296 2214:e5928bec8d5d
1608 Automatically becomes buffer-local when set in any fashion."); 1608 Automatically becomes buffer-local when set in any fashion.");
1609 #endif 1609 #endif
1610 1610
1611 DEFVAR_PER_BUFFER ("overwrite-mode", &current_buffer->overwrite_mode, Qnil, 1611 DEFVAR_PER_BUFFER ("overwrite-mode", &current_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", &current_buffer->display_table, 1619 DEFVAR_PER_BUFFER ("buffer-display-table", &current_buffer->display_table,
1616 Qnil, 1620 Qnil,
1617 "Display table that controls display of the contents of current buffer.\n\ 1621 "Display table that controls display of the contents of current buffer.\n\