]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/sql.el
authorMichael R. Mauger <michael@mauger.com>
Thu, 25 Apr 2019 00:59:25 +0000 (20:59 -0400)
committerMichael R. Mauger <michael@mauger.com>
Thu, 25 Apr 2019 00:59:25 +0000 (20:59 -0400)
commita1386fa6a7698c04902354cd5fefb39056b0a901
tree9d4ee7ae5b4d3cc13e0b88a445ec2e1c35e36117
parent2bf957394cdcb93396966d3289f5e200886cb424
* lisp/progmodes/sql.el
(sql-is-sqli-buffer-p): New function.
(sql-generate-unique-sqli-buffer-name): Refactor and use it.
(sql-product-interactive): Simplify name logic.
* test/lisp/progmodes/sql-tests.el
(sql-tests-placeholder-filter-harness): New macro.
(sql-tests-placeholder-filter-simple)
(sql-tests-placeholder-filter-ampersand)
(sql-tests-placeholder-filter-period): Refactored tests and use macro.
(sql-tests-buffer-naming-harness): New macro.
(sql-tests-buffer-naming-default)
(sql-tests-buffer-naming-multiple)
(sql-tests-buffer-naming-explicit)
(sql-tests-buffer-naming-universal-argument)
(sql-tests-buffer-naming-existing): New tests.
lisp/progmodes/sql.el
test/lisp/progmodes/sql-tests.el