Skip to content

Commit

Permalink
fix: swap-in #'cl-coerce for #'coerce
Browse files Browse the repository at this point in the history
This change in response to:
```
error in process sentinel: Symbol’s function definition is void: coerce [2 times]
```

On my system `coerce` is not defined but `cl-coerce` is.

system-info: "x86_64-apple-darwin18.7.0"
emacs-version: "27.2"
  • Loading branch information
nickgarber committed Jul 24, 2021
1 parent 7524f98 commit 7f34390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jiralib.el
Original file line number Diff line number Diff line change
Expand Up @@ -1128,13 +1128,13 @@ Auxiliary Notes:
(boundp 'unwrap-worklog-records-fn)
(functionp unwrap-worklog-records-fn))
unwrap-worklog-records-fn
(lambda (x) (coerce x 'list))))
(lambda (x) (cl-coerce x 'list))))
(setq rewrap-worklog-records-fn
(if (and
(boundp 'rewrap-worklog-records-fn)
(functionp rewrap-worklog-records-fn))
rewrap-worklog-records-fn
(lambda (x) (remove 'nil (coerce x 'vector)))))
(lambda (x) (remove 'nil (cl-coerce x 'vector)))))
(setq predicate-fn-lst
(if (and (boundp 'predicate-fn-lst)
(not (null predicate-fn-lst))
Expand Down

0 comments on commit 7f34390

Please sign in to comment.