type-break-mode: New variable and function.
commit4cf64c15e59e8fa7a5bec836aed35442843c9d88
authorNoah Friedman <friedman@splode.com>
Mon, 18 Jul 1994 07:37:18 +0000 (18 07:37 +0000)
committerNoah Friedman <friedman@splode.com>
Mon, 18 Jul 1994 07:37:18 +0000 (18 07:37 +0000)
tree2c9548cfb5bf2f2635968f5f21fcda95bb249f4e
parenta9c82aaf4137beca79b06b9339badc9208e34f73
type-break-mode: New variable and function.

type-break-interval: Increase default to 1 hour.

type-break-query-interval: Variable renamed from type-break-delay-interval.

type-break-keystroke-interval: Variable deleted.
type-break-keystroke-threshold: New variable.

type-break-demo-life: Function renamed from type-break-life.
type-break-demo-hanoi: Function renamed from type-break-hanoi.

type-break-alarm-p: Variable renamed from type-break-p.

type-break: Don't query.
type-break-query: (New function) query here.
type-break-check: Call type-break-query, not type-break.
Do nothing if type-break-mode is nil.
Increment type-break-keystroke-count with the length of this-command-keys,
not just 1.
Query for break when keystroke count exceeds cdr of keystroke threshold
variable.
Query for break after an alarm only if keystroke count exceeds car of
keystroke threshold variable.

type-break-select: Function deleted.
type-break: Move that code here.

type-break-cancel-schedule: Function renamed from cancel-type-break.
Reset type-break-alarm-p.

type-break-alarm: Function renamed from type-break-soon.

(top level): Call type-break-mode; don't set up hook explicitly.
lisp/type-break.el