Skip to content

Commit

Permalink
closql--coerce: Fix bug in Emacs 25 code-path
Browse files Browse the repository at this point in the history
Or more precisely, actually add the omitted Emacs 25 code-path.
cb4c9e5 omitted the ELSE-case,
which we know wasn't done on purpose because then I would have
used `and' instead.

This caused `closql-insert' to fail.
  • Loading branch information
tarsius committed May 21, 2018
1 parent 1e8a710 commit ceeab64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# -*- mode: org -*-

* v0.5.2 UNRELEASED

- Fixed a bug that caused ~closql-insert~ to fail when using Emacs 25
ever since Emacs 26 is supported too.

- Added new utility function ~closql-format~.

* v0.5.1 2017/12/19

- A recent change on Emacs 27.0.50 causes an EmacSQL bug to surface.
Expand Down
3 changes: 2 additions & 1 deletion closql.el
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@
(vec (make-vector len -1)))
(dotimes (i len)
(aset vec i (aref object i)))
vec))
vec)
object)
type))

(cl-defmethod closql--abbrev-class ((class-tag symbol))
Expand Down

0 comments on commit ceeab64

Please sign in to comment.