Function: sql-highlight-product
sql-highlight-product is a byte-compiled function defined in
sql.el.gz.
Signature
(sql-highlight-product)
Documentation
Turn on the font highlighting for the SQL product selected.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/sql.el.gz
(defun sql-highlight-product ()
"Turn on the font highlighting for the SQL product selected."
(when (derived-mode-p 'sql-mode)
;; Enhance the syntax table for the product
(set-syntax-table (sql-product-syntax-table))
;; Setup font-lock
(sql-product-font-lock nil t)
;; Set the mode name to include the product.
(setq mode-name (concat "SQL[" (or (sql-get-product-feature sql-product :name)
(symbol-name sql-product)) "]"))))