Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cb411c60
Commit
cb411c60
authored
Apr 19, 2019
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/calendar/time-date.el (date-to-time): 'signal' only takes 2 args
parent
9ffbe127
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/calendar/time-date.el
lisp/calendar/time-date.el
+3
-3
No files found.
lisp/calendar/time-date.el
View file @
cb411c60
...
...
@@ -155,13 +155,13 @@ If DATE lacks timezone information, GMT is assumed."
(
error
(
let
((
overflow-error
'
(
error
"Specified time is not representable"
)))
(
if
(
equal
err
overflow-error
)
(
apply
'signal
err
)
(
condition-case
err
(
signal
(
car
err
)
(
cdr
err
)
)
(
condition-case
-unless-debug
err
(
encode-time
(
parse-time-string
(
timezone-make-date-arpa-standard
date
)))
(
error
(
if
(
equal
err
overflow-error
)
(
apply
'signal
err
)
(
signal
(
car
err
)
(
cdr
err
)
)
(
error
"Invalid date: %s"
date
)))))))))
;;;###autoload
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment