summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-02-11 13:35:50 -0800
committerGlenn Morris <rgm@gnu.org>2012-02-11 13:35:50 -0800
commit5fec1b8e29366f9d356cbcdf85a481f4638873f6 (patch)
tree8485978de4288afbdf70c402246609d0d1a9756b
parent3e0d2fa76ed543f2f575055939cf77939cca87d5 (diff)
downloademacs-5fec1b8e29366f9d356cbcdf85a481f4638873f6.tar.gz
Add missing custom types to sql.el
* lisp/progmodes/sql.el (sql-ansi-statement-starters) (sql-oracle-statement-starters): Add custom type.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/progmodes/sql.el11
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 <rgm@gnu.org>
+ * 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.