diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index c3436570498..22bce370197 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -5438,7 +5438,9 @@ database object. The database object returned by the @defun sqlite-close db Close the database @var{db}. It's usually not necessary to call this function explicitly---the database will automatically be closed if -Emacs shuts down or the database object is garbage collected. +Emacs shuts down or the database object is garbage collected. If the +connection identified by @var{db} is already closed, this function does +nothing. @end defun @defun sqlite-execute db statement &optional values diff --git a/etc/NEWS b/etc/NEWS index bfc475c5704..c6f7ffe2a1e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -3599,12 +3599,14 @@ provide more accurate warnings from byte compilation. The new optional argument READONLY to 'sqlite-open' function allows to open an existing database only for reading. ++++ *** 'sqlite-open' now recognizes 'file://' URIs as well as file names. The 'file://' URIs are supported by default. In the unusual case that a normal file name starts with "file:", you can disable the URI recognition by invoking 'sqlite-open' with the new optional argument DISABLE-URI non-nil. ++++ *** 'sqlite-close' now does nothing if the connection is already closed. ** GUD