aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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."
3105(defun sql-end-of-statement (arg) 3105(defun sql-end-of-statement (arg)
3106 "Move to the end of the current SQL statement." 3106 "Move to the end of the current SQL statement."
3107 (interactive "p") 3107 (interactive "p")
3108 (let ((term (sql-get-product-feature sql-product :terminator)) 3108 (let ((term (or (sql-get-product-feature sql-product :terminator) ";"))
3109 (re-search (if (> 0 arg) 're-search-backward 're-search-forward)) 3109 (re-search (if (> 0 arg) 're-search-backward 're-search-forward))
3110 (here (point)) 3110 (here (point))
3111 (n 0)) 3111 (n 0))