/[emacs]/emacs/lisp/type-break.el
ViewVC logotype

Diff of /emacs/lisp/type-break.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by jpw, Fri Apr 11 13:06:22 2003 UTC revision 1.27 by lektu, Tue May 6 17:50:17 2003 UTC
# Line 97  use either \\[customize] or the function Line 97  use either \\[customize] or the function
97  (defcustom type-break-good-rest-interval (/ type-break-interval 6)  (defcustom type-break-good-rest-interval (/ type-break-interval 6)
98    "*Number of seconds of idle time considered to be an adequate typing rest.    "*Number of seconds of idle time considered to be an adequate typing rest.
99    
100  When this variable is non-`nil', emacs checks the idle time between  When this variable is non-nil, emacs checks the idle time between
101  keystrokes.  If this idle time is long enough to be considered a \"good\"  keystrokes.  If this idle time is long enough to be considered a \"good\"
102  rest from typing, then the next typing break is simply rescheduled for later.  rest from typing, then the next typing break is simply rescheduled for later.
103    
# Line 145  guess a reasonably good pair of values f Line 145  guess a reasonably good pair of values f
145    :group 'type-break)    :group 'type-break)
146    
147  (defcustom type-break-query-mode t  (defcustom type-break-query-mode t
148    "*Non-`nil' means ask whether or not to prompt user for breaks.    "*Non-nil means ask whether or not to prompt user for breaks.
149  If so, call the function specified in the value of the variable  If so, call the function specified in the value of the variable
150  `type-break-query-function' to do the asking."  `type-break-query-function' to do the asking."
151    :type 'boolean    :type 'boolean
# Line 156  If so, call the function specified in th Line 156  If so, call the function specified in th
156  It should take a string as an argument, the prompt.  It should take a string as an argument, the prompt.
157  Usually this should be set to `yes-or-no-p' or `y-or-n-p'.  Usually this should be set to `yes-or-no-p' or `y-or-n-p'.
158    
159  To avoid being queried at all, set `type-break-query-mode' to `nil'."  To avoid being queried at all, set `type-break-query-mode' to nil."
160    :type '(radio function    :type '(radio function
161                  (function-item yes-or-no-p)                  (function-item yes-or-no-p)
162                  (function-item y-or-n-p))                  (function-item y-or-n-p))
# Line 222  remove themselves after running.") Line 222  remove themselves after running.")
222  ;; Mode line frobs  ;; Mode line frobs
223    
224  (defcustom type-break-mode-line-message-mode nil  (defcustom type-break-mode-line-message-mode nil
225    "*Non-`nil' means put type-break related messages in the mode line.    "*Non-nil means put type-break related messages in the mode line.
226  Otherwise, messages typically go in the echo area.  Otherwise, messages typically go in the echo area.
227    
228  See also `type-break-mode-line-format' and its members."  See also `type-break-mode-line-format' and its members."

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26