Function: type-break-mode-line-countdown-or-break
type-break-mode-line-countdown-or-break is a byte-compiled function
defined in type-break.el.gz.
Signature
(type-break-mode-line-countdown-or-break &optional TYPE)
Source Code
;; Defined in /usr/src/emacs/lisp/type-break.el.gz
(defun type-break-mode-line-countdown-or-break (&optional type)
(cond
((not type-break-mode-line-message-mode))
((eq type 'countdown)
;(setq type-break-mode-line-break-message-p nil)
(add-hook 'type-break-post-command-hook
'type-break-force-mode-line-update 'append))
((eq type 'break)
;; Alternate
(setq type-break-mode-line-break-message-p
(not type-break-mode-line-break-message-p))
(remove-hook 'type-break-post-command-hook
'type-break-force-mode-line-update))
(t
(setq type-break-mode-line-break-message-p nil)
(setq type-break-warning-countdown-string nil)
(remove-hook 'type-break-post-command-hook
'type-break-force-mode-line-update)))
(type-break-force-mode-line-update))