* lisp/type-break.el (type-break-get-previous-time):
(type-break-get-previous-count): Signal a warning instead of an
error (bug#38246). type-break will still continue to work even if
the database can't be loaded after a restart, but this allows
Emacs to be started.
(goto-char (point-min))
(read (current-buffer)))
(end-of-file
- (error "End of file in `%s'" file))))))))
+ (warn "End of file in `%s'" file))))))))
(defun type-break-get-previous-count ()
"Get previous keystroke count from `type-break-file-name'.
(forward-line 1)
(read (current-buffer)))
(end-of-file
- (error "End of file in `%s'" file)))))))
+ (warn "End of file in `%s'" file)))))))
file
0)))