]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/sql.el (sql-product-alist): Doc fix. (Bug#25440)
authorEli Zaretskii <eliz@gnu.org>
Sat, 14 Jan 2017 08:40:01 +0000 (10:40 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 Jan 2017 08:40:01 +0000 (10:40 +0200)
lisp/progmodes/sql.el

index cea159ef3b4b4b0cf393566e40256d9f89db90e1..3bbe42bd9df7d8896668353f907d204bdd994632 100644 (file)
@@ -551,14 +551,17 @@ may be any one of the following:
                         database and server) needed to connect to
                         the database.
 
- :sqli-comint-func      name of a function which accepts no
-                        parameters that will use the values of
-                        `sql-user', `sql-password',
-                        `sql-database', `sql-server' and
-                        `sql-port' to open a comint buffer and
-                        connect to the database.  Do product
+ :sqli-comint-func      name of a function of two arguments, PRODUCT
+                        and OPTIONS, that will open a comint buffer
+                        and connect to the database.  PRODUCT is the
+                        first argument to be passed to `sql-comint',
+                        and OPTIONS should be included in its second
+                        argument.  The function should use the values
+                        of `sql-user', `sql-password', `sql-database',
+                        `sql-server' and `sql-port' to .  Do product
                         specific configuration of comint in this
-                        function.
+                        function.  See `sql-comint-oracle' for an
+                        example of such a function.
 
  :list-all              Command string or function which produces
                         a listing of all objects in the database.