branch: elpa/emacsql commit 72b34f6522e17ca5a4e3d484e8d94be9133e4f77 Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Add some more autoloading. --- emacsql-psql.el | 2 ++ emacsql-sqlite.el | 1 + 2 files changed, 3 insertions(+) diff --git a/emacsql-psql.el b/emacsql-psql.el index 5e076b40cc..cde5008213 100644 --- a/emacsql-psql.el +++ b/emacsql-psql.el @@ -9,6 +9,7 @@ (defvar emacsql-psql-executable "psql" "Path to the psql (PostgreSQL client) executable.") +;;;###autoload (defun emacsql-psql-unavailable-p () "Return a reason if the psql executable is not available. :no-executable -- cannot find the executable @@ -30,6 +31,7 @@ ((dbname :reader emacsql-psql-dbname :initarg :dbname)) (:documentation "A connection to a PostgreSQL database.")) +;;;###autoload (cl-defun emacsql-psql (dbname &key username hostname port) "Connect to a PostgreSQL server using the psql command line program." (let ((args (list dbname))) diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el index 51019e5c1d..63018cb6a8 100644 --- a/emacsql-sqlite.el +++ b/emacsql-sqlite.el @@ -9,6 +9,7 @@ (defvar emacsql-sqlite3-executable "sqlite3" "Path to the sqlite3 executable.") +;;;###autoload (defun emacsql-sqlite3-unavailable-p () "Return a reason if the sqlite3 executable is not available. :no-executable -- cannot find the executable