summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMichael R. Mauger <michael@mauger.com>2019-03-22 22:28:01 -0400
committerMichael R. Mauger <michael@mauger.com>2019-03-22 22:34:41 -0400
commit068cbed32abfeb4e141cd5f56dedb084539ac7b7 (patch)
tree6b3b0d6739fbee8f00f3ad87d5d340e57896542e /lisp
parentb515edb98521cf489c81457fa22e6efe78bb042d (diff)
downloademacs-068cbed32abfeb4e141cd5f56dedb084539ac7b7.tar.gz
* lisp/progmodes/sql.el Bug#25424
(sql-end-of-statement): default terminator as semicolon.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/sql.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 6d91d84fa70..4ab174d92b9 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -3105,7 +3105,7 @@ displayed."
(defun sql-end-of-statement (arg)
"Move to the end of the current SQL statement."
(interactive "p")
- (let ((term (sql-get-product-feature sql-product :terminator))
+ (let ((term (or (sql-get-product-feature sql-product :terminator) ";"))
(re-search (if (> 0 arg) 're-search-backward 're-search-forward))
(here (point))
(n 0))