* lisp/progmodes/sql.el Bug#25424

(sql-end-of-statement): default terminator as semicolon.
This commit is contained in:
Michael R. Mauger 2019-03-22 22:28:01 -04:00
parent b515edb985
commit 068cbed32a

View file

@ -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))