]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/sql.el Bug#25424
authorMichael R. Mauger <michael@mauger.com>
Sat, 23 Mar 2019 02:28:01 +0000 (22:28 -0400)
committerMichael R. Mauger <michael@mauger.com>
Sat, 23 Mar 2019 02:34:41 +0000 (22:34 -0400)
(sql-end-of-statement): default terminator as semicolon.

lisp/progmodes/sql.el

index 6d91d84fa7053ea9fd540d07da9cb55eaacfb5d5..4ab174d92b94810db55aade04d90d08ff1be88cc 100644 (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))