Skip to content

Commit

Permalink
emacsql-live-p: Remove double negative
Browse files Browse the repository at this point in the history
Even though the documented behavior doesn't demand it, ensure we
continue to return a boolean.
  • Loading branch information
tarsius committed Jan 21, 2024
1 parent f58cdd1 commit eb69177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emacsql.el
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Retrieve the slot `log-buffer' from an object of class `emacsql-connection'."

(cl-defmethod emacsql-live-p ((connection emacsql-connection))
"Return non-nil if CONNECTION is still alive and ready."
(not (null (process-live-p (oref connection handle)))))
(and (process-live-p (oref connection handle)) t))

(cl-defgeneric emacsql-types (connection)
"Return an alist mapping EmacSQL types to database types.
Expand Down

0 comments on commit eb69177

Please sign in to comment.