From 068cbed32abfeb4e141cd5f56dedb084539ac7b7 Mon Sep 17 00:00:00 2001 From: "Michael R. Mauger" Date: Fri, 22 Mar 2019 22:28:01 -0400 Subject: [PATCH] * lisp/progmodes/sql.el Bug#25424 (sql-end-of-statement): default terminator as semicolon. --- lisp/progmodes/sql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5