type-break-time-warning-intervals, type-break-keystroke-warning-intervals,
authorNoah Friedman <friedman@splode.com>
Thu, 28 Jul 1994 17:32:36 +0000 (17:32 +0000)
committerNoah Friedman <friedman@splode.com>
Thu, 28 Jul 1994 17:32:36 +0000 (17:32 +0000)
commite7b20417255e89bdd71354aa7c2777f997ce6601
treee21810dd5d3d61ac5e8602e0a40b73ab36a1d082
parent35d4f4e8e421a952e8e774efe2729b9978792f56
type-break-time-warning-intervals, type-break-keystroke-warning-intervals,
type-break-warning-repeat: New variables.

type-break-current-time-warning-interval,
type-break-current-keystroke-warning-interval,
type-break-time-warning-count, type-break-keystroke-warning-count: New
variables.

type-break-demo-boring: New function.
type-break-demo-functions: Add it to the default list.

type-break-post-command-hook: New variable.
type-break-run-tb-post-command-hook: New function.
type-break-mode: Install them.

type-break-keystroke-reset: New function.
type-break-check: Call it when appropriate.

type-break: call type-break-cancel-schedule.
Check that rest time was within 60 seconds of "good rest" interval, not 120.

type-break-time-warning-schedule, type-break-cancel-time-warning-schedule,
type-break-time-warning-alarm, type-break-time-warning: New functions.

type-break-schedule: Remove interactive spec and docstring.
Call type-break-time-warning-schedule.

type-break-cancel-schedule: Remove interactive spec and docstring.
Call type-break-cancel-time-warning-schedule.

type-break-check: Don't check for type-break-mode here.
type-break-run-tb-post-command-hook does that now.

type-break-keystroke-warning: New function.
type-break-check-keystroke-warning: New inline function (defsubst).
type-break-check: Call it.

type-break-query: Bind type-break-mode to nil while calling query function.
lisp/type-break.el