summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-02-08 16:21:11 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-02-08 16:21:44 -0800
commitfd6f7d1449c8496ab5c019d2aad7ca5e2980713a (patch)
tree83934f904dda8a258d8b8175d0f6120f510b3790 /lisp/emacs-lisp/eldoc.el
parentdb3fc07caf71b6d7a34f80333ba54ed6d67ee144 (diff)
downloademacs-fd6f7d1449c8496ab5c019d2aad7ca5e2980713a.tar.gz
emacs-fd6f7d1449c8496ab5c019d2aad7ca5e2980713a.tar.bz2
emacs-fd6f7d1449c8496ab5c019d2aad7ca5e2980713a.zip
Better distinguish infinite from invalid times
* editfns.c (check_time_validity): New function. (decode_time_components): Return int, not bool. Return -1 (not 0) if the time is out of range. All callers changed. (lisp_time_struct, lisp_seconds_argument): Distinguish better between time overflow and invalid time values.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
0 files changed, 0 insertions, 0 deletions