From 5fec1b8e29366f9d356cbcdf85a481f4638873f6 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 11 Feb 2012 13:35:50 -0800 Subject: [PATCH] Add missing custom types to sql.el * lisp/progmodes/sql.el (sql-ansi-statement-starters) (sql-oracle-statement-starters): Add custom type. --- lisp/ChangeLog | 3 +++ lisp/progmodes/sql.el | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bf09296e3eb..cb7d88e545d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-02-11 Glenn Morris + * progmodes/sql.el (sql-ansi-statement-starters) + (sql-oracle-statement-starters): Add custom type. + * progmodes/prolog.el: Remove leading '*' from defcustom docs. (prolog-system-version): Give it a type. diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index f8f62d113e6..3c5ee36eb98 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -824,7 +824,9 @@ for the first time." All products share this list; products should define a regexp to identify additional keywords in a variable defined by -the :statement feature.") +the :statement feature." + :type 'string + :group 'SQL) ;; Customization for Oracle @@ -851,8 +853,11 @@ You will find the file in your Orant\\bin directory." :version "24.1" :group 'SQL) -(defcustom sql-oracle-statement-starters (regexp-opt '("declare" "begin" "with")) - "Additional statement starting keywords in Oracle.") +(defcustom sql-oracle-statement-starters + (regexp-opt '("declare" "begin" "with")) + "Additional statement starting keywords in Oracle." + :type 'string + :group 'SQL) (defcustom sql-oracle-scan-on t "Non-nil if placeholders should be replaced in Oracle SQLi. -- 2.11.4.GIT