Function: type-break-noninteractive-query

type-break-noninteractive-query is a byte-compiled function defined in type-break.el.gz.

Signature

(type-break-noninteractive-query &optional IGNORED-ARGS)

Documentation

Null query function which doesn't interrupt user and assumes no.

It prints a reminder in the echo area to take a break, but doesn't enforce this or ask the user to start one right now.

Source Code

;; Defined in /usr/src/emacs/lisp/type-break.el.gz
(defun type-break-noninteractive-query (&optional _ignored-args)
  "Null query function which doesn't interrupt user and assumes `no'.
It prints a reminder in the echo area to take a break, but doesn't enforce
this or ask the user to start one right now."
  (cond
   (type-break-mode-line-message-mode)
   (t
    (beep t)
    (message "%sYou should take a typing break now.  Do `%s'."
             (type-break-time-stamp)
             (substitute-command-keys "\\[type-break]"))
    (sit-for 1)
    (beep t)
    ;; return nil so query caller knows to reset reminder, as if user
    ;; said "no" in response to yes-or-no-p.
    nil)))