]> git.eshelyaron.com Git - emacs.git/commit
Allow _ characters in SQL prompts
authorSteve Purcell <steve@sanityinc.com>
Sun, 24 Apr 2016 11:44:37 +0000 (13:44 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 24 Apr 2016 11:44:52 +0000 (13:44 +0200)
commita28873ce734b3618b0e8f6892e65db24d2f18da8
tree5ef1d1acdc2b5c1f1bd371c42b1ab5f7bb679f3e
parent5d1e62e32989399fd2a073cc8efc07f869a1b438
Allow _ characters in SQL prompts

* lisp/progmodes/sql.el (sql-product-alist): Allow _
characters in SQL prompts (bug#22596).

Fixes issue 22596, whereby "_" is now not considered a word constituent
character in sql-interactive-mode, so prompts like "foo_dev# " are not
correctly detected. Rather than piggy-back on the symbol table, we
explicitly match against alphanumeric chars or "_".
lisp/progmodes/sql.el