Mercurial > emacs
diff src/cmds.c @ 2159:6a082f5ce7e6
(internal_self_insert): Check that tab_width does not
exceed 20, to be consistent with indent.c and xdisp.c.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 12 Mar 1993 21:42:58 +0000 |
| parents | b1bc0b15ca7f |
| children | e5928bec8d5d |
line wrap: on
line diff
--- a/src/cmds.c Fri Mar 12 20:13:56 1993 +0000 +++ b/src/cmds.c Fri Mar 12 21:42:58 1993 +0000 @@ -283,6 +283,7 @@ && (overwrite_binary_mode || FETCH_CHAR (point) != '\t' || XINT (current_buffer->tab_width) <= 0 + || XFASTINT (current_buffer->tab_width) > 20 || !((current_column () + 1) % XFASTINT (current_buffer->tab_width)))) { del_range (point, point + 1);
