summaryrefslogtreecommitdiff
path: root/lisp/progmodes/sql.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/sql.el')
-rw-r--r--lisp/progmodes/sql.el17
1 files changed, 10 insertions, 7 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 634c6b57bdc..68ca37207ef 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -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 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.