Function: sql-help-list-products
sql-help-list-products is a byte-compiled function defined in
sql.el.gz.
Signature
(sql-help-list-products INDENT FREEP)
Documentation
Generate listing of products available for use under SQLi.
List products with :free-software attribute set to FREEP. Indent each line with INDENT.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/sql.el.gz
(defun sql-help-list-products (indent freep)
"Generate listing of products available for use under SQLi.
List products with :free-software attribute set to FREEP. Indent
each line with INDENT."
(let (sqli-func doc)
(setq doc "")
(dolist (p sql-product-alist)
(setq sqli-func (intern (concat "sql-" (symbol-name (car p)))))
(if (and (fboundp sqli-func)
(eq (sql-get-product-feature (car p) :free-software) freep))
(setq doc
(concat doc
indent
(or (sql-get-product-feature (car p) :name)
(symbol-name (car p)))
":\t"
"\\["
(symbol-name sqli-func)
"]\n"))))
doc))