diff options
| author | Michael R. Mauger <michael@mauger.com> | 2019-03-22 22:28:01 -0400 |
|---|---|---|
| committer | Michael R. Mauger <michael@mauger.com> | 2019-03-22 22:34:41 -0400 |
| commit | 068cbed32abfeb4e141cd5f56dedb084539ac7b7 (patch) | |
| tree | 6b3b0d6739fbee8f00f3ad87d5d340e57896542e /lisp | |
| parent | b515edb98521cf489c81457fa22e6efe78bb042d (diff) | |
| download | emacs-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.el | 2 |
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)) |
